Show / Hide Table of Contents

    Class NoOpTokenHandler

    This is a no-operation token handler which can neither get nor refresh tokens. It can be used as default implementation where required, but it has no functionality.

    Inheritance
    System.Object
    NoOpTokenHandler
    Implements
    ITokenHandler
    Namespace: Dangl.RestClient
    Assembly: Dangl.RestClient.dll
    Syntax
    public class NoOpTokenHandler : object, ITokenHandler

    Properties

    | Improve this Doc View Source

    CanGetToken

    Always returns false

    Declaration
    public bool CanGetToken { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CanRefreshToken

    Always returns false

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

    Methods

    | Improve this Doc View Source

    GetAndStoreTokenAsync()

    Throws a

    Declaration
    public Task<OAuthToken> GetAndStoreTokenAsync()
    Returns
    Type Description
    Task<OAuthToken>
    | Improve this Doc View Source

    RefreshAndStoreTokenAsync()

    Throws a

    Declaration
    public Task<OAuthToken> RefreshAndStoreTokenAsync()
    Returns
    Type Description
    Task<OAuthToken>

    Implements

    ITokenHandler
    • Improve this Doc
    • View Source
    Back to top © Dangl IT - Georg Dangl