My Project
|
The Authentication APIs provide a convenient way to convert classic authentication responses into entity authentication models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. Manage API keys for authenticating any entity. More...
Public Member Functions | |
PlayFabAuthenticationInstanceAPI (PlayFabApiSettings settings) | |
PlayFabAuthenticationInstanceAPI (PlayFabAuthenticationContext context) | |
PlayFabAuthenticationInstanceAPI (PlayFabApiSettings settings, PlayFabAuthenticationContext context) | |
bool | IsEntityLoggedIn () |
Verify entity login. | |
void | ForgetAllCredentials () |
Clear the Client SessionToken which allows this Client to call API calls requiring login. A new/fresh login will be required after calling this. | |
void | GetEntityToken (GetEntityTokenRequest request, Action< GetEntityTokenResponse > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid Entity Token. | |
void | ValidateEntityToken (ValidateEntityTokenRequest request, Action< ValidateEntityTokenResponse > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Method for a server to validate a client provided EntityToken. Only callable by the title entity. | |
Public Attributes | |
readonly PlayFabApiSettings | apiSettings = null |
readonly PlayFabAuthenticationContext | authenticationContext = null |
The Authentication APIs provide a convenient way to convert classic authentication responses into entity authentication models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. Manage API keys for authenticating any entity.