Interface IDanglIdentityAspNetIdentityLoginHandler
This interface is used in server side applications where
a login or refresh action should also create or update the user
in the local apps database
Assembly: Dangl.Identity.Client.Mvc.dll
Syntax
public interface IDanglIdentityAspNetIdentityLoginHandler
Methods
|
Improve this Doc
View Source
LoginAndUpdateUserDetailsAsync(String, String)
Will login and update the user
Declaration
Task<TokenResponse> LoginAndUpdateUserDetailsAsync(string identifier, string password)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
| System.String |
password |
|
Returns
| Type |
Description |
| Task<TokenResponse> |
|
|
Improve this Doc
View Source
RefreshAndUpdateUserDetailsAsync(String)
Will refresh the user via the refresh token and update the user
Declaration
Task<TokenResponse> RefreshAndUpdateUserDetailsAsync(string refreshToken)
Parameters
| Type |
Name |
Description |
| System.String |
refreshToken |
|
Returns
| Type |
Description |
| Task<TokenResponse> |
|
Extension Methods