Interface IDanglIdentityClient
Assembly: Dangl.Identity.Client.App.dll
Syntax
public interface IDanglIdentityClient
Methods
|
Improve this Doc
View Source
LoginAndReturnTokenAsync(TokenLoginPost)
Declaration
Task<TokenResponseGet> LoginAndReturnTokenAsync(TokenLoginPost model)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
LoginAndReturnTokenAsync(TokenLoginPost, CancellationToken)
Declaration
Task<TokenResponseGet> LoginAndReturnTokenAsync(TokenLoginPost model, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
TokenLoginPost |
model |
|
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Exceptions
|
Improve this Doc
View Source
LoginWithCookieAsync(LoginPost, String)
Declaration
Task LoginWithCookieAsync(LoginPost model, string redirectUrl)
Parameters
Type |
Name |
Description |
LoginPost |
model |
|
System.String |
redirectUrl |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
LoginWithCookieAsync(LoginPost, String, CancellationToken)
Declaration
Task LoginWithCookieAsync(LoginPost model, string redirectUrl, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
LoginPost |
model |
|
System.String |
redirectUrl |
|
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
RefreshTokenAsync(TokenRefreshPost)
Declaration
Task<TokenResponseGet> RefreshTokenAsync(TokenRefreshPost model)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
RefreshTokenAsync(TokenRefreshPost, CancellationToken)
Declaration
Task<TokenResponseGet> RefreshTokenAsync(TokenRefreshPost model, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
TokenRefreshPost |
model |
|
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Exceptions
|
Improve this Doc
View Source
RegisterAsync(RegisterPost)
Declaration
Task RegisterAsync(RegisterPost registerModel)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
RegisterAsync(RegisterPost, CancellationToken)
Declaration
Task RegisterAsync(RegisterPost registerModel, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
RegisterPost |
registerModel |
|
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
RequestPasswordResetAsync(ForgotPasswordPost)
Declaration
Task RequestPasswordResetAsync(ForgotPasswordPost forgotPasswordModel)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
RequestPasswordResetAsync(ForgotPasswordPost, CancellationToken)
Declaration
Task RequestPasswordResetAsync(ForgotPasswordPost forgotPasswordModel, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
ForgotPasswordPost |
forgotPasswordModel |
|
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
SignOutWithSignInManagerAsync()
Declaration
Task SignOutWithSignInManagerAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
SignOutWithSignInManagerAsync(CancellationToken)
Declaration
Task SignOutWithSignInManagerAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions