Class TokenRequest

Definition

Namespace:
Tizen.Account.OAuth2
Assembly:
Tizen.Account.OAuth2.dll
API Level:
3

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

C#
Copy
public abstract class TokenRequest : object
Inheritance
TokenRequest
Derived

Properties

View Source

AuthenticationScheme

Client authentication scheme. Default is Basic

Declaration
C#
Copy
public AuthenticationScheme AuthenticationScheme { get; set; }
Property Value
Type Description
AuthenticationScheme
API Level: 3
View Source

ClientSecrets

The client credentials

Declaration
C#
Copy
public ClientCredentials ClientSecrets { get; set; }
Property Value
Type Description
ClientCredentials
API Level: 3
View Source

CustomData

Custom key-value parameters to be sent to the server

Declaration
C#
Copy
public IEnumerable<KeyValuePair<string, string>> CustomData { get; set; }
Property Value
Type Description
IEnumerable<KeyValuePair<String, String>>
API Level: 3
View Source

GrantType

The Grant type

Declaration
C#
Copy
public abstract string GrantType { get; }
Property Value
Type Description
String
API Level: 3
View Source

RedirectionEndPoint

The redirection endpoint of the auhorization flow.

Declaration
C#
Copy
public Uri RedirectionEndPoint { get; set; }
Property Value
Type Description
Uri
API Level: 3
View Source

Scopes

The scope of the access request as described by https://tools.ietf.org/html/rfc6749#section-3.3

Declaration
C#
Copy
public IEnumerable<string> Scopes { get; set; }
Property Value
Type Description
IEnumerable<String>
API Level: 3
View Source

State

The client's state which is maintained between request and response.

Declaration
C#
Copy
public string State { get; set; }
Property Value
Type Description
String
API Level: 3
View Source

TokenEndpoint

The access token end point URL.

Declaration
C#
Copy
public Uri TokenEndpoint { get; set; }
Property Value
Type Description
Uri
API Level: 3

Extension Methods