My Project
Loading...
Searching...
No Matches
Public Attributes | List of all members
PlayFab.ClientModels.GetTitlePublicKeyRequest Class Reference

An RSA CSP blob to be used to encrypt the payload of account creation requests when that API requires a signature header. For example if Client/LoginWithCustomId requires signature headers but the player does not have an account yet follow these steps: 1) Call Client/GetTitlePublicKey with one of the title's shared secrets. 2) Convert the Base64 encoded CSP blob to a byte array and create an RSA signing object. 3) Encrypt the UTF8 encoded JSON body of the registration request and place the Base64 encoded result into the EncryptedRequest and with the TitleId field, all other fields can be left empty when performing the API request. 4) Client receives authentication token as normal. Future requests to LoginWithCustomId will require the X-PlayFab-Signature header. More...

Inheritance diagram for PlayFab.ClientModels.GetTitlePublicKeyRequest:
PlayFab.SharedModels.PlayFabRequestCommon PlayFab.SharedModels.PlayFabBaseModel

Public Attributes

string TitleId
 Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
 
string TitleSharedSecret
 The shared secret key for this title.
 
- Public Attributes inherited from PlayFab.SharedModels.PlayFabRequestCommon
PlayFabAuthenticationContext AuthenticationContext
 

Additional Inherited Members

- Public Member Functions inherited from PlayFab.SharedModels.PlayFabBaseModel
string ToJson ()
 

Detailed Description

An RSA CSP blob to be used to encrypt the payload of account creation requests when that API requires a signature header. For example if Client/LoginWithCustomId requires signature headers but the player does not have an account yet follow these steps: 1) Call Client/GetTitlePublicKey with one of the title's shared secrets. 2) Convert the Base64 encoded CSP blob to a byte array and create an RSA signing object. 3) Encrypt the UTF8 encoded JSON body of the registration request and place the Base64 encoded result into the EncryptedRequest and with the TitleId field, all other fields can be left empty when performing the API request. 4) Client receives authentication token as normal. Future requests to LoginWithCustomId will require the X-PlayFab-Signature header.


The documentation for this class was generated from the following file: