SessionScopes | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Interface SessionScopes

    Extend this interface to define the format of your own sessions

    interface SessionScopes {
        "platform:incomplete-account": {
            badPasswordTime: null | Instant;
            failedchecks: string[];
            returnTo: string;
            user: number;
        };
        "platform:uploadsession": { chunkSize: number; manifest: UploadManifest };
        "wrd:openid.idpstate": {
            cbUrl: string;
            clientid: number;
            code_challenge: null | string;
            code_challenge_method: null | "plain" | "S256";
            nonce: null | string;
            scopes: string[];
            state: null | string;
            user?: number;
        };
        [key: string]: Record<string, unknown>;
    }

    Indexable

    • [key: string]: Record<string, unknown>
    Index

    Properties

    "platform:incomplete-account": {
        badPasswordTime: null | Instant;
        failedchecks: string[];
        returnTo: string;
        user: number;
    }

    Type declaration

    • badPasswordTime: null | Instant

      Time of the bad password

    • failedchecks: string[]

      Failed checks

    • returnTo: string

      Return url

    • user: number

      User id to login

    "platform:uploadsession": { chunkSize: number; manifest: UploadManifest }
    "wrd:openid.idpstate": {
        cbUrl: string;
        clientid: number;
        code_challenge: null | string;
        code_challenge_method: null | "plain" | "S256";
        nonce: null | string;
        scopes: string[];
        state: null | string;
        user?: number;
    }

    Type declaration

    • cbUrl: string
    • clientid: number
    • code_challenge: null | string
    • code_challenge_method: null | "plain" | "S256"
    • nonce: null | string
    • scopes: string[]
    • state: null | string
    • Optionaluser?: number

      User id to set