Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias Identity

    who is asking, as the app's identity.resolve reports it

    type Identity = {
        principal: string;
        roles?: readonly string[];
    }
    Index
    principal: string

    the principal's id, as identity.resolve reports it

    roles?: readonly string[]

    role names the principal holds; absent when none