Class TokenResponse

    Definition

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

    The response from authroization server containing access token and an optional refresh token.

    [Obsolete]
    public class TokenResponse
    Inheritance
    object
    TokenResponse

    Properties

    View Source

    AccessToken

    The access token

    Declaration
    [Obsolete]
    public AccessToken AccessToken { get; }
    Property Value
    Type Description
    AccessToken
    View Source

    RefreshToken

    The refresh token. The value will be null if authorization server doesn't return a refresh token.

    Declaration
    [Obsolete]
    public RefreshToken RefreshToken { get; }
    Property Value
    Type Description
    RefreshToken
    Remarks

    Issuing a refresh token is optional at the discretion of the authorization server.

    View Source

    State

    The state parameter present in authorization request.

    Declaration
    [Obsolete]
    public string State { get; }
    Property Value
    Type Description
    string
    Remarks

    The value can be null depending on the server specifications.

    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

    ~TokenResponse()

    Destructor of the AuthorizationResponse class.

    Declaration
    protected ~TokenResponse()
    View Source

    GetCustomValue(string)

    Gets the value of the key received from service provider

    Declaration
    [Obsolete]
    public string GetCustomValue(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    string

    The value of respecitve key

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when the key does not exist or when there is an invalid parameter.

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