Class OAuth2
This class represents credential for OAuth2.
Inheritance
System.Object
OAuth2
Inherited Members
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class OAuth2 : AccessToken
Constructors
| Improve this Doc View SourceOAuth2(String)
Initializes a new instance of the OAuth2 class.
Declaration
public OAuth2(string accessToken)
Parameters
Type | Name | Description |
---|---|---|
System.String | accessToken | Access token. |
OAuth2(String, String)
Initializes a new instance of the OAuth2 class.
Declaration
public OAuth2(string accessToken, string refreshtoken)
Parameters
Type | Name | Description |
---|---|---|
System.String | accessToken | Access token. |
System.String | refreshtoken | Refresh token. |