Auth
Last updated
Was this helpful?
Last updated
Was this helpful?
Request to recover the account.
No content
No content
Refreshes the access token by the refresh token.
Ok
Creates new account and register the current device's key as the initial user key. This involves deploying the account on the chain you've specified.
The login channel the user is currently signing in/up.
firebase
Possible values: The access token / ID token / redirect code retrieved as a result of OAuth 2.0 Sign In. Server uses it to call the OAuth provider to verify that the client correctly finished OAuth flow, and fetches users' basic profile information such as email.
Its value differs by channel:
apple
, it's the ID token returned after finishing the SIWA process from the client.firebase
, it's the redirect code from OAuth2 Redirect URI.eyJhbGciOiJIUzI...Qedy-rosPJLzs3jArh6Vc
The user key (usually device key / PassKey) created from the client SDK. Used as one of initial multi-sig keys for creating an account.
Finish sign in after the user authorized the request on the other device. This API will return the API credentials and account information.
The latest 2FA request ID.
deadbeef-dead-beef-dead-beefdeadbeef
Ok
Starts SignIn Challenge. This is required when the user is trying to sign in from the device already registered.
The client should request with the public key of the device. If it's not registered,
it will raise HTTP 400 with PleaseRegisterKey
error.
Issues a random 32-byte challengeData
to the client.
The client should respond by signing the data with the device's key, within 5 minutes.
The challenge type should be specified with either passKey
or deviceKey
.
The public key of the PassKey in client-side. Should be 64-byte hex string concatenated with [x: 32byte, y: 32byte].
Ok
Finishes sign in challenge.
The client should provide the signature of the challengeData
issued by the server.
If valid, it will return the API credentials and account information.
Ok