Beispiel #1
0
        public async Task <AuthenticationResponseDto> Authorize(LogInDto authenticationRequest, string userAgent)
        {
            string refreshToken = await accountManager.Authorize(authenticationRequest.Email, authenticationRequest.Password, userAgent, securityConfiguration.RefreshExpiration);

            return(GetAuthenticationResponse(authenticationRequest.Email, refreshToken));
        }