@inrupt/solid-client-authn-core
    Preparing search index...

    Type Alias TokenEndpointResponse

    Based on openid-client's TokenSetParameters. Re-creating the type allows not to depend on the Node-specific library at the environment-agnostic level.

    type TokenEndpointResponse = {
        accessToken: string;
        dpopKey?: KeyPair;
        expiresAt?: number;
        expiresIn?: number;
        idToken?: string;
        refreshToken?: string;
        tokenType?: "Bearer" | "DPoP";
        webId?: string;
    }
    Index

    Properties

    accessToken: string

    JWT-serialized access token

    dpopKey?: KeyPair

    DPoP key to which the access token, and potentially the refresh token, are bound.

    expiresAt?: number

    Expiration of the access token.

    expiresIn?: number

    ExpiresAt should be computed from expiresIn when receiving the token.

    idToken?: string

    JWT-serialized id token

    refreshToken?: string

    Refresh token (not necessarily a JWT)

    tokenType?: "Bearer" | "DPoP"

    Usually "Bearer"

    webId?: string

    URL identifying the subject of the ID token.