Method guide
YandexAuthsdk Class
Authorization class. Instance methods:
Method | Description |
---|---|
| Creates an Intent to start the authorization process.
|
| Handles the result of the authorization. |
| Gets a JSON Web Token. |
Method | Description |
---|---|
| Creates an Intent to start the authorization process.
|
| Handles the result of the authorization. |
| Gets a JSON Web Token. |
YandexAuthOptions Class
SDK configuration class. Instance methods:
Method | Description |
---|---|
| Creates an SDK configuration. The client app ID is taken from build.gradle.
|
| Returns the ID of the client app. |
| Returns a label indicating that SDK message logging is permitted. |
Method | Description |
---|---|
| Creates an SDK configuration. The client app ID is taken from build.gradle.
|
| Returns the ID of the client app. |
| Returns a label indicating that SDK message logging is permitted. |
YandexAuthToken Class
A class that the SDK returns after successful authorization. Instance methods:
Method | Description |
---|---|
| Creates a token containing the token value and lifetime. |
| Returns the value of the token. |
| Returns the lifetime of the token. |
Method | Description |
---|---|
| Creates a token containing the token value and lifetime. |
| Returns the value of the token. |
| Returns the lifetime of the token. |