Class ImplicitGrantAuthorizer
Definition
- Namespace:
- Tizen.Account.OAuth2
- Assembly:
- Tizen.Account.OAuth2.dll
- API Level:
- 3
The ImplicitGrantAuthorizer is used to obtain access tokens using Implicit Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.2
C#Copypublic class ImplicitGrantAuthorizer : Authorizer
- Inheritance
Constructors
Declaration
C#Copypublic ImplicitGrantAuthorizer()
API Level: 3
Methods
View Source
GetAccessTokenAsync(TokenRequest)
Access token can be retreived implicitly using AuthorizeAsync(AuthorizationRequest) in this flow.
Declaration
C#Copypublic Task<TokenResponse> GetAccessTokenAsync(TokenRequest request)
Parameters
Type | Name | Description |
---|---|---|
TokenRequest | request |
Returns
Type | Description |
---|---|
Task<TokenResponse> |
API Level: 3
View Source
RefreshAccessTokenAsync(RefreshTokenRequest)
Refreshing access token is not supported in this flow.
Declaration
C#Copypublic override Task<TokenResponse> RefreshAccessTokenAsync(RefreshTokenRequest request)
Parameters
Type | Name | Description |
---|---|---|
RefreshTokenRequest | request |
Returns
Type | Description |
---|---|
Task<TokenResponse> |