Axinom Mosaic Libraries
    Preparing search index...

    Interface PgAuthenticatedManagementSubject

    An interface that represents an authentication subject which is provided by Mosaic Admin Service in form of a JWT token. The auth library @axinom/mosaic-id-guard can be used to validate and parse the JWT token to get such a PgAuthenticatedManagementSubject, and it also provides a more fitting interface:

    import { PgAuthenticatedManagementSubject } from '@axinom/mosaic-id-guard';
    
    interface PgAuthenticatedManagementSubject {
        environmentId: string;
        name: string;
        permissions: { [key: string]: string[] };
        sub?: string;
        tags?: string[];
        tenantId: string;
    }
    Index

    Properties

    environmentId: string
    name: string
    permissions: { [key: string]: string[] }
    sub?: string
    tags?: string[]
    tenantId: string