Interface CreateSIWBBRequestPayload

interface CreateSIWBBRequestPayload {
    attestationsPresentations?: iAttestationsProof<NumberType>[];
    client_id: string;
    description?: string;
    image?: string;
    name?: string;
    otherSignIns?: (
        | "discord"
        | "github"
        | "google"
        | "twitter")[];
    redirect_uri?: string;
    response_type: string;
    scopes: OAuthScopeDetails[];
    state?: string;
}

Properties

attestationsPresentations?: iAttestationsProof<NumberType>[]

If required, you can additionally add proof of attestations to the authentication flow. This proves sensitive information (e.g. GPAs, SAT scores, etc.) without revealing the information itself.

client_id: string

Client ID for the SIWBB request.

description?: string

The description of the SIWBB request for display purposes.

image?: string

The image of the SIWBB request for display purposes.

name?: string

The name of the SIWBB request for display purposes.

otherSignIns?: (
    | "discord"
    | "github"
    | "google"
    | "twitter")[]

If defined, we will store the current sign-in details for these web2 connections along with the code

redirect_uri?: string

Redirect URI if redirected after successful sign-in.

response_type: string

The response type for the SIWBB request.

The scopes to request.

state?: string

State to be passed back to the redirect URI.