IFClite TypeScript API
    Preparing search index...

    Interface ReleaseEndpointOptions

    interface ReleaseEndpointOptions {
        allowOrigin?: string;
        isRevoked?: (jti: string) => boolean | Promise<boolean>;
        maxBodyBytes?: number;
        now?: () => number;
        release: (
            claims: RoomTokenClaims,
        ) => ReleaseResult | Promise<ReleaseResult>;
        secret: SecretResolver;
    }
    Index
    allowOrigin?: string
    isRevoked?: (jti: string) => boolean | Promise<boolean>

    Deny-list check: a revoked bearer cannot release.

    maxBodyBytes?: number
    now?: () => number
    release: (claims: RoomTokenClaims) => ReleaseResult | Promise<ReleaseResult>

    Hand back the claim on claims.room. Called only with the verified, unrevoked claims of an admin bearer for the requested room. Returns released when the claim was still unused and the bearer is one of the tokens minted for it, in-use when the room was joined or holds data, busy when the server will not take more revocations now (the claim is kept), and not-holder otherwise.

    Secret used to verify the bearer token.