| BrainCloudServiceClientAuthentication_AuthenticateExternal Method |
[This is preliminary documentation and is subject to change.]
Authenticate the user via cloud code (which in turn validates the supplied credentials against an external system).
This allows the developer to extend brainCloud authentication to support other backend authentication systems.
Namespace:
Ruyi.SDK.BrainCloudApi
Assembly:
ServiceGenerated (in ServiceGenerated.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public string Authentication_AuthenticateExternal(
string userId,
string token,
string externalAuthName,
bool forceCreate,
int clientIndex
)
Parameters
- userId
- Type: SystemString
The user id - token
- Type: SystemString
The user token (password etc) - externalAuthName
- Type: SystemString
The name of the cloud script to call for external authentication - forceCreate
- Type: SystemBoolean
Should a new profile be created for this user if the account does not exist? - clientIndex
- Type: SystemInt32
@BrainCloud_clientIndex_desc
Return Value
Type:
String[Missing <returns> documentation for "M:Ruyi.SDK.BrainCloudApi.BrainCloudService.Client.Authentication_AuthenticateExternal(System.String,System.String,System.String,System.Boolean,System.Int32)"]
See Also