Метод | Описание | |
---|---|---|
AddAuthParameter ( string key, string value ) : void |
Adds a key-value pair to the get-parameters used for Custom Auth. This method does uri-encoding for you. |
|
AuthenticationValues ( ) : System |
Creates empty auth values without any info.
|
|
AuthenticationValues ( string userId ) : System |
Creates minimal info about the user. If this is authenticated or not, depends on the set AuthType.
|
|
SetAuthPostData ( byte byteData ) : void |
Sets the data to be passed-on to the auth service via POST.
|
|
SetAuthPostData ( string stringData ) : void |
Sets the data to be passed-on to the auth service via POST.
|
|
ToString ( ) : string |
public AddAuthParameter ( string key, string value ) : void | ||
key | string | Key for the value to set. |
value | string | Some value relevant for Custom Authentication. |
Результат | void |
public AuthenticationValues ( string userId ) : System | ||
userId | string | Some UserId to set in Photon. |
Результат | System |
public SetAuthPostData ( byte byteData ) : void | ||
byteData | byte | Binary token / auth-data to pass on. |
Результат | void |
public SetAuthPostData ( string stringData ) : void | ||
stringData | string | String data to be used in the body of the POST request. Null or empty string will set AuthPostData to null. |
Результат | void |