Processes tokens from federated sign in returned to the specified URL. The tokens are passed to the web app via a redirect URL.
callback URL containing the tokens.
Successful authentication result AuthenticationTokens.
Refresh the access and ID tokens using the refresh token.
refresh token used to refresh the access and ID tokens.
Successful authentication result AuthenticationTokens containing refreshed tokens
Registers this client against the backend with an external authentication provider. The caller must implement AuthenticationProvider protocol to return the appropriate authentication token required to authorize the registration request.
authentication provider that provides the authentication token.
Optional
registrationId: stringregistration ID to uniquely identify this registration request.
user ID of the newly created user
Sign into the backend using an external authentication provider. Caller must implement AuthenticationProvider interface to return the appropriate authentication token associated with the external identity registered with registerWithAuthenticationProvider.
authentication provider that provides the authentication token.
authentication tokens associated with the successful sign in.
Sign into the backend using a private key. The client must have created a private/public key pair via the registerWithAuthenticationProvider method.
authentication tokens associated with the successful sign in.
Interface encapsulating a library of functions for calling Sudo Platform identity service, handling federated sign in, managing keys and performing cryptographic operations.