Search Results for

    Show / Hide Table of Contents

    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()
    Namespace: Dangl.AVACloud.Client
    Assembly: Dangl.AVACloud.Client.dll
    Syntax
    public class DanglIdentityClient

    Constructors

    | Improve this Doc View Source

    DanglIdentityClient(String, HttpClient)

    Declaration
    public DanglIdentityClient(string baseUrl, HttpClient httpClient)
    Parameters
    Type Name Description
    System.String baseUrl
    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
    | Improve this Doc View Source

    ReadResponseAsString

    Declaration
    public bool ReadResponseAsString { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    GetUserInfoAsync()

    Declaration
    public virtual Task<UserInfoGet> GetUserInfoAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<UserInfoGet>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    GetUserInfoAsync(CancellationToken)

    Declaration
    public virtual async Task<UserInfoGet> GetUserInfoAsync(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<UserInfoGet>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    LoginAndReturnTokenAsync(TokenLoginPost)

    Declaration
    public virtual Task<TokenResponseGet> LoginAndReturnTokenAsync(TokenLoginPost model)
    Parameters
    Type Name Description
    TokenLoginPost model
    Returns
    Type Description
    System.Threading.Tasks.Task<TokenResponseGet>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    LoginAndReturnTokenAsync(TokenLoginPost, CancellationToken)

    Declaration
    public virtual async 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
    Type Description
    System.Threading.Tasks.Task<TokenResponseGet>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    LoginWithCookieAsync(LoginPost, String)

    Declaration
    public virtual Task LoginWithCookieAsync(LoginPost model, string redirectUrl)
    Parameters
    Type Name Description
    LoginPost model
    System.String redirectUrl
    Returns
    Type Description
    System.Threading.Tasks.Task
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    LoginWithCookieAsync(LoginPost, String, CancellationToken)

    Declaration
    public virtual async 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
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)

    Declaration
    protected virtual async Task<DanglIdentityClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Net.Http.HttpResponseMessage response
    System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>> headers
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<DanglIdentityClient.ObjectResponseResult<T>>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    RefreshTokenAsync(TokenRefreshPost)

    Declaration
    public virtual Task<TokenResponseGet> RefreshTokenAsync(TokenRefreshPost model)
    Parameters
    Type Name Description
    TokenRefreshPost model
    Returns
    Type Description
    System.Threading.Tasks.Task<TokenResponseGet>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    RefreshTokenAsync(TokenRefreshPost, CancellationToken)

    Declaration
    public virtual async 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
    Type Description
    System.Threading.Tasks.Task<TokenResponseGet>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    RegisterAsync(RegisterPost)

    Declaration
    public virtual Task RegisterAsync(RegisterPost registerModel)
    Parameters
    Type Name Description
    RegisterPost registerModel
    Returns
    Type Description
    System.Threading.Tasks.Task
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    RegisterAsync(RegisterPost, CancellationToken)

    Declaration
    public virtual async 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
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    RequestPasswordResetAsync(ForgotPasswordPost)

    Declaration
    public virtual Task RequestPasswordResetAsync(ForgotPasswordPost forgotPasswordModel)
    Parameters
    Type Name Description
    ForgotPasswordPost forgotPasswordModel
    Returns
    Type Description
    System.Threading.Tasks.Task
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    RequestPasswordResetAsync(ForgotPasswordPost, CancellationToken)

    Declaration
    public virtual async 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
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    SignOutWithSignInManagerAsync()

    Declaration
    public virtual Task SignOutWithSignInManagerAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    SignOutWithSignInManagerAsync(CancellationToken)

    Declaration
    public virtual async 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
    Type Condition
    SwaggerException

    A server side error occurred.

    • Improve this Doc
    • View Source
    In This Article
    Back to top © Dangl IT GmbH