Frodo Library - v5.0.0-37
    Preparing search index...

    Type Alias StaticUserMappingSkeleton

    A static user mapping: it maps the sub of an access token (for example an OAuth2 client id) to a local IDM user and roles, so that a client that authenticates with a token acts as that user.

    type StaticUserMappingSkeleton = {
        localUser: string;
        roles?: string[];
        subject: string;
        userRoles?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    localUser: string

    The local user the subject acts as, e.g. 'internal/user/openidm-admin'

    roles?: string[]

    The roles the subject gets, e.g. 'internal/role/openidm-admin'

    subject: string

    The subject (the sub of the access token, e.g. an OAuth2 client id)

    userRoles?: string

    Where the user's roles come from, e.g. 'authzRoles/*'