private void AddUserTokensToAuthenticationProperties()

in src/Amazon.AspNetCore.Identity.Cognito/CognitoSigninManager.cs [182:202]


        private void AddUserTokensToAuthenticationProperties(TUser user, AuthenticationProperties authenticationProperties)
        {
            authenticationProperties.StoreTokens(new List<AuthenticationToken>()
            {
                new AuthenticationToken()
                {
                    Name = OpenIdConnectParameterNames.AccessToken,
                    Value = user.SessionTokens?.AccessToken
                },
                new AuthenticationToken()
                {
                    Name = OpenIdConnectParameterNames.RefreshToken,
                    Value = user.SessionTokens?.RefreshToken
                },
                new AuthenticationToken()
                {
                    Name = OpenIdConnectParameterNames.IdToken,
                    Value = user.SessionTokens?.IdToken
                }
            });
        }