Namespace Tizen.Account.OAuth2

Description

Classes

AccessToken

Class containing access token and related information.

AuthorizationRequest

The request parameters to be sent to authorization end point.

AuthorizationResponse

The response containing authroization code from the authorization server.

Authorizer

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.

ClientCredentials

Contains client credentials required for authentication in request-body

ClientCredentialsAuthorizer

The ClientCredentialsAuthorizer is used to obtain access tokens using Client Credentials Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.4

ClientCredentialsTokenRequest

The class contains request parameters for retreiving access token in Client Credentials Grant flow.

CodeGrantAuthorizationRequest

The class contains request parameters for retreiving authorization code in Authorization Code Grant flow. Please refer https://tools.ietf.org/html/rfc6749#section-4.1.1 for more details

CodeGrantAuthorizer

The CodeGrantAuthorizer is used to obtain access tokens and refresh tokens using Authorization Code Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.1

CodeGrantTokenRequest

The class contains request parameters for retreiving access token in Authorization Code Grant flow.

ImplicitGrantAuthorizationRequest

The class contains request parameters for retreiving access token in Implicit Grant flow.

ImplicitGrantAuthorizer

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

OAuth2ErrorResponse

Wrapper class contaning OAuth2 related error information

OAuth2Exception

Exception wrapper for OAuth2 related exception

RefreshToken

The refresh token which can be used to obtain new access token.

RefreshTokenRequest

The class contains request parameters for refreshing an access token.

ResourceOwnerPwdCredentialsAuthorizer

The ResourceOwnerPwdCredentialsAuthorizer is used to obtain access tokens using Resource Owner Password Credentials Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.3

ResourceOwnerPwdCredentialsTokenRequest

The class contains request parameters for retreiving access token in Resource Owner Password Credentials Grant flow.

TokenRequest

Abstract wrapper class containing OAuth 2.0 request parameters for requesting an access token.

TokenResponse

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

Enums

AuthenticationScheme

Enumerations for Client authentication scheme, used to sign client id and client secret accordingly. Default is Basic (http://tools.ietf.org/html/rfc2617#section-2)