Method LinkWithOpenIdConnectAsync
LinkWithOpenIdConnectAsync(string, string, LinkOptions)
Link the current player with a custom openID Connect id provider account.
Declaration
Task LinkWithOpenIdConnectAsync(string idProviderName, string idToken, LinkOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
string | idProviderName | the name of the id provider created. Note that it must start with "oidc-" and have between 1 and 20 characters |
string | idToken | Id Token for the custom id provider |
LinkOptions | options | Options for the operation |
Returns
Type | Description |
---|---|
Task | Task for the operation |
Exceptions
Type | Condition |
---|---|
AuthenticationException | The task fails with the exception when the task cannot complete successfully due to Authentication specific errors.
|
RequestFailedException | The task fails with the exception when the task cannot complete successfully.
|