GooglePlayGames. BasicApi. AuthScopeExtensions
Extensions for the AuthScope enum.
Summary
These extensions are used to converting between the AuthScope enum and its string representation.
Public static functions |
|
---|---|
FromValue(string value)
|
Returns the AuthScope enum value corresponding to the provided string.
|
GetValue(this AuthScope authScope)
|
string
Returns the standard string representation of this OAuth 2.0 scope.
|
Public static functions
FromValue
AuthScope FromValue( string value )
Returns the AuthScope enum value corresponding to the provided string.
Details | |||
---|---|---|---|
Parameters |
|
||
Exceptions |
|
||
Returns |
The AuthScope enum value corresponding to the provided string.
|
GetValue
string GetValue( this AuthScope authScope )
Returns the standard string representation of this OAuth 2.0 scope.
Details | |||
---|---|---|---|
Parameters |
|
||
Exceptions |
|
||
Returns |
The string value used to represent this scope.
|