Public external identity authentication operations.
Summary
Functions
Cancels a pending provider identity flow. This public RPC requires a valid pending-flow capability token.
Links a provider identity using a pending link-flow capability token. This public RPC requires a valid link-flow capability token.
Creates a passwordless account from a pending provider identity. This public RPC requires a valid create-flow capability token.
Reads safe metadata for a pending create/link flow. This public RPC requires a valid pending-flow capability token and returns NOT_FOUND when the token is unknown or expired. Returns FAILED_PRECONDITION when a managed provider username cannot be assigned; the user must contact the operator.
Functions
@spec cancel_external_identity_flow( Req.Request.t(), Chatto.Auth.V1.CancelExternalIdentityFlowRequest.t() ) :: {:ok, Chatto.Auth.V1.CancelExternalIdentityFlowResponse.t()} | {:error, Chatto.Connect.Error.t()}
Cancels a pending provider identity flow. This public RPC requires a valid pending-flow capability token.
@spec confirm_external_identity_link( Req.Request.t(), Chatto.Auth.V1.ConfirmExternalIdentityLinkRequest.t() ) :: {:ok, Chatto.Auth.V1.ConfirmExternalIdentityLinkResponse.t()} | {:error, Chatto.Connect.Error.t()}
Links a provider identity using a pending link-flow capability token. This public RPC requires a valid link-flow capability token.
@spec create_external_identity_account( Req.Request.t(), Chatto.Auth.V1.CreateExternalIdentityAccountRequest.t() ) :: {:ok, Chatto.Auth.V1.CreateExternalIdentityAccountResponse.t()} | {:error, Chatto.Connect.Error.t()}
Creates a passwordless account from a pending provider identity. This public RPC requires a valid create-flow capability token.
@spec get_pending_external_identity( Req.Request.t(), Chatto.Auth.V1.GetPendingExternalIdentityRequest.t() ) :: {:ok, Chatto.Auth.V1.GetPendingExternalIdentityResponse.t()} | {:error, Chatto.Connect.Error.t()}
Reads safe metadata for a pending create/link flow. This public RPC requires a valid pending-flow capability token and returns NOT_FOUND when the token is unknown or expired. Returns FAILED_PRECONDITION when a managed provider username cannot be assigned; the user must contact the operator.