Class ImplicitGrantAuthorizer

    Definition

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

    The ImplicitGrantAuthorizer is used to obtain access tokens using Implicit Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.2

    [Obsolete]
    public class ImplicitGrantAuthorizer : Authorizer, IDisposable
    Inheritance
    object
    Authorizer
    ImplicitGrantAuthorizer
    Implements
    System.IDisposable

    Constructors

    View Source

    ImplicitGrantAuthorizer()

    The constructor

    Declaration
    [Obsolete]
    public ImplicitGrantAuthorizer()

    Methods

    View Source

    GetAccessTokenAsync(TokenRequest)

    Access token can be retreived implicitly using AuthorizeAsync(AuthorizationRequest) in this flow.

    Declaration
    [Obsolete]
    public Task<TokenResponse> GetAccessTokenAsync(TokenRequest request)
    Parameters
    Type Name Description
    TokenRequest request
    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><TokenResponse>
    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown when the operation is not supported

    View Source

    RefreshAccessTokenAsync(RefreshTokenRequest)

    Refreshing access token is not supported in this flow.

    Declaration
    [Obsolete]
    public override Task<TokenResponse> RefreshAccessTokenAsync(RefreshTokenRequest request)
    Parameters
    Type Name Description
    RefreshTokenRequest request
    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><TokenResponse>
    Overrides
    Authorizer.RefreshAccessTokenAsync(RefreshTokenRequest)
    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown when the operation is not supported

    Implements

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