Method SignInWithOpenIdConnectAsync
SignInWithOpenIdConnectAsync(string, string, SignInOptions)
Sign in using a custom openID Connect id provider account. If no options are used, this will create an account if none exist.
Declaration
Task SignInWithOpenIdConnectAsync(string idProviderName, string idToken, SignInOptions 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 |
| SignInOptions | 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.
|