Class DanglIdentityClient
Inheritance
System.Object
DanglIdentityClient
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class DanglIdentityClient
Constructors
|
Improve this Doc
View Source
DanglIdentityClient(HttpClient)
Declaration
public DanglIdentityClient(HttpClient httpClient)
Parameters
Type |
Name |
Description |
System.Net.Http.HttpClient |
httpClient |
|
Properties
|
Improve this Doc
View Source
BaseUrl
Declaration
public string BaseUrl { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Type |
Description |
Newtonsoft.Json.JsonSerializerSettings |
|
Methods
|
Improve this Doc
View Source
LoginAndReturnTokenAsync(TokenLoginPost)
Declaration
public Task<TokenResponseGet> LoginAndReturnTokenAsync(TokenLoginPost model)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
LoginAndReturnTokenAsync(TokenLoginPost, CancellationToken)
Declaration
public 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
public 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
public 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
public Task<TokenResponseGet> RefreshTokenAsync(TokenRefreshPost model)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
RefreshTokenAsync(TokenRefreshPost, CancellationToken)
Declaration
public 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
public Task RegisterAsync(RegisterPost registerModel)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
RegisterAsync(RegisterPost, CancellationToken)
Declaration
public 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
public Task RequestPasswordResetAsync(ForgotPasswordPost forgotPasswordModel)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
RequestPasswordResetAsync(ForgotPasswordPost, CancellationToken)
Declaration
public 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
public Task SignOutWithSignInManagerAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Exceptions
|
Improve this Doc
View Source
SignOutWithSignInManagerAsync(CancellationToken)
Declaration
public 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