@schibsted/account-sdk-browser
    Preparing search index...

    Interface HasAccessResult

    Result returned by the Session Service /hasAccess endpoint, describing whether the user is entitled to a requested set of products/features.

    interface HasAccessResult {
        allowedFeatures: string[];
        entitled: boolean;
        sig: string;
        ttl: number;
        userId: number;
        uuid: string;
    }
    Index

    Properties

    allowedFeatures: string[]

    Feature ids the user is allowed to access.

    entitled: boolean

    Whether the user is entitled to at least one of the requested products/features.

    sig: string

    Signed response payload.

    ttl: number

    How long this result stays valid, in seconds, before the cache entry expires.

    userId: number

    User id the access result belongs to.

    uuid: string

    Globally unique user id the access result belongs to.