Class TokenRequest
Definition
- Assembly:
- Tizen.Account.OAuth2.dll
Abstract wrapper class containing OAuth 2.0 request parameters for requesting an access token.
public abstract class TokenRequest
- Inheritance
-
objectTokenRequest
- Derived
Properties
View SourceAuthenticationScheme
Client authentication scheme. Default is Basic
Declaration
public AuthenticationScheme AuthenticationScheme { get; set; }
Property Value
Type | Description |
---|---|
AuthenticationScheme |
ClientSecrets
The client credentials
Declaration
public ClientCredentials ClientSecrets { get; set; }
Property Value
Type | Description |
---|---|
ClientCredentials |
CustomData
Custom key-value parameters to be sent to the server
Declaration
public IEnumerable<KeyValuePair<string, string>> CustomData { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><System.Collections.Generic.KeyValuePair<TKey, TValue><string, string>> |
GrantType
The Grant type
Declaration
public abstract string GrantType { get; }
Property Value
Type | Description |
---|---|
string |
RedirectionEndPoint
The redirection endpoint of the auhorization flow.
Declaration
public Uri RedirectionEndPoint { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |
Scopes
The scope of the access request as described by https://tools.ietf.org/html/rfc6749#section-3.3
Declaration
public IEnumerable<string> Scopes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
State
The client's state which is maintained between request and response.
Declaration
public string State { get; set; }
Property Value
Type | Description |
---|---|
string |
TokenEndpoint
The access token end point URL.
Declaration
public Uri TokenEndpoint { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |