bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Interface CodeGenQueryParams

    interface CodeGenQueryParams {
        claimId?: string;
        client_id: string;
        expectVerifySuccess?: boolean;
        hideIfAlreadyClaimed?: boolean;
        redirect_uri?: string;
        scope?: string;
        state?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    claimId?: string

    We will display this claim on the authorize screen. Just for display purpses. This is still to be checked by you post-authentication.

    client_id: string

    The client ID to use for the SIWBB request. Must match the one in developer portal.

    expectVerifySuccess?: boolean

    We will expect the claim verification to succeed. If false, we will not let user attempt to sign in.

    Note: This is not a replacement for checking the claim on your side because users can manipulate the client-side URL parameters.

    hideIfAlreadyClaimed?: boolean

    For the claimId, we will hide the claim if the user has already completed it (successCount >= 1).

    redirect_uri?: string

    The redirect URI to redirect to after the user signs in. Must match the one in developer portal.

    scope?: string

    The scopes to request (e.g. completeClaims,approveSignInWithBitBadges).

    state?: string

    The state to use for the SIWBB request.