GooglePlayGames.
  Represents the response received from Play Games Services when requesting a server-side OAuth 2.0 authorization code for the signed-in player.
Summary
| Constructors and Destructors | |
|---|---|
| AuthResponse(string authCode, List< AuthScope > grantedScopes)Constructs an  AuthResponsewith the provided granted scopes and authentication code. | 
| Public functions | |
|---|---|
| Equals(object obj) | override bool | 
| GetAuthCode() | stringGets the OAuth 2.0 authorization code.  | 
| GetGrantedScopes() | List< AuthScope >Gets the list of  AuthScopepermissions that the user has granted. | 
| GetHashCode() | override int | 
| ToString() | override string | 
Public functions
AuthResponse
AuthResponse( string authCode, List< AuthScope > grantedScopes )
Constructs an AuthResponse with the provided granted scopes and authentication code. 
| Details | |||||
|---|---|---|---|---|---|
| Parameters | 
 | ||||
| Exceptions | 
 | 
Equals
override bool Equals( object obj )
GetAuthCode
string GetAuthCode()
Gets the OAuth 2.0 authorization code.
This code is a short-lived credential that should be sent securely to your server to be exchanged for an access token and conditionally a refresh token.
| Details | |
|---|---|
| Returns | A string containing the OAuth 2.0 authorization code. | 
GetGrantedScopes
List< AuthScope > GetGrantedScopes()
Gets the list of AuthScope permissions that the user has granted. 
A list of the AuthScope permissions the user explicitly granted consent for (or previously approved). The list will be empty if the user declines consent and none of the requested AuthScope were previously granted. 
| Details | |
|---|---|
| Returns | A  ListofAuthScopeobjects, representing the granted permissions. | 
GetHashCode
override int GetHashCode()
ToString
override string ToString()
