Class Authorizer

    Definition

    Namespace:
    Tizen.Account.OAuth2
    Assembly:
    Tizen.Account.OAuth2.dll

    An abstract class to represent various OAuth 2.0 authorization code flows. Refer to http://tools.ietf.org/html/rfc6749 about OAuth 2.0 protocols. Also service provider document needs to be referred for using end points and additional parameters.

    [Obsolete]
    public abstract class Authorizer : IDisposable
    Inheritance
    object
    Authorizer
    Derived
    ClientCredentialsAuthorizer
    ClientCredentialsAuthorizer
    ClientCredentialsAuthorizer
    ClientCredentialsAuthorizer
    ClientCredentialsAuthorizer
    CodeGrantAuthorizer
    CodeGrantAuthorizer
    CodeGrantAuthorizer
    CodeGrantAuthorizer
    CodeGrantAuthorizer
    ImplicitGrantAuthorizer
    ImplicitGrantAuthorizer
    ImplicitGrantAuthorizer
    ImplicitGrantAuthorizer
    ImplicitGrantAuthorizer
    ResourceOwnerPwdCredentialsAuthorizer
    ResourceOwnerPwdCredentialsAuthorizer
    ResourceOwnerPwdCredentialsAuthorizer
    ResourceOwnerPwdCredentialsAuthorizer
    ResourceOwnerPwdCredentialsAuthorizer
    Implements
    System.IDisposable

    Constructors

    View Source

    Authorizer()

    Constructor for Authoirzer instances

    Declaration
    [Obsolete]
    public Authorizer()

    Properties

    View Source

    IsRequestInProgress

    Indicates if the current instance is already handling an authorization request

    Declaration
    [Obsolete]
    public bool IsRequestInProgress { get; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    Dispose()

    Releases any unmanaged resources used by this object.

    Declaration
    [Obsolete]
    public void Dispose()
    View Source

    Dispose(bool)

    Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.

    Declaration
    [Obsolete]
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    If true, disposes any disposable objects. If false, does not dispose disposable objects.

    View Source

    ~Authorizer()

    Destructor of the Authorizer class.

    Declaration
    protected ~Authorizer()
    View Source

    RefreshAccessTokenAsync(RefreshTokenRequest)

    Retrieves access token using a refresh token.

    Declaration
    [Obsolete]
    public virtual Task<TokenResponse> RefreshAccessTokenAsync(RefreshTokenRequest request)
    Parameters
    Type Name Description
    RefreshTokenRequest request

    Request containing refresh token

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><TokenResponse>

    The response containing access token.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when method failed due to invalid argumets

    OAuth2Exception

    Thrown when method fails due to server error

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX