@s2-dev/streamstore - v0.22.0
    Preparing search index...

    Interface IssueAccessTokenInput

    Input for issuing an access token.

    interface IssueAccessTokenInput {
        autoPrefixStreams?: boolean;
        expiresAt?: string | number | Date;
        id: string;
        scope: AccessTokenScope;
    }
    Index

    Properties

    autoPrefixStreams?: boolean

    Namespace streams based on the configured stream-level scope, which must be a prefix. Stream name arguments will be automatically prefixed, and the prefix will be stripped when listing streams.

    expiresAt?: string | number | Date

    Expiration time (Date, milliseconds since Unix epoch, or RFC 3339 string). If not set, the expiration will be set to that of the requestor's token.

    id: string

    Access token ID. It must be unique to the account and between 1 and 96 bytes in length.

    Access token scope.