Method SignInWithOculusAsync
SignInWithOculusAsync(string, string, SignInOptions)
Sign in using an Oculus account userId and nonce key If no options are used, this will create an account if none exists
Declaration
Task SignInWithOculusAsync(string nonce, string userId, SignInOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | nonce | Client provided nonce key used by the server to verify that the provided Oculus userId is valid |
| string | userId | Oculus account userId |
| 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.
|