Axinom Mosaic Libraries
    Preparing search index...

    Interface AuthenticatedEndUser

    Represents an Authenticated End-User, created to be used in End-User Applications. This will be created using a token issued by the ax-user-service.

    interface AuthenticatedEndUser {
        applicationId: string;
        aud: string;
        email?: string;
        environmentId: string;
        exp: number;
        extensions: unknown;
        iat: number;
        iss: string;
        name: string;
        profileId: string;
        sessionId: string;
        sub: string;
        subjectType: SubjectType;
        tenantId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    applicationId: string

    The end-user application for this token

    f4d491d8-49fc-4bfc-bb69-3c6abd957821
    
    aud: string

    Audience of the token

    *
    
    email?: string

    Subject email

    john.doe@example.com
    
    environmentId: string

    Environment ID

    exp: number

    Expiration time (seconds since Unix epoch)

    1641566572
    
    extensions: unknown
    iat: number

    Issued at (seconds since Unix epoch)

    1638974572
    
    iss: string

    Issuer of the token

    e.g. ax-id-service or ax-user-service
    
    name: string

    Subject name

    John Doe
    
    profileId: string

    The currently active profile

    a208c64a-c487-4554-b726-e4654d2a1c10
    
    sessionId: string

    The session identifier

    f5f2ec54-be1e-4330-9827-13b3e2338551
    
    sub: string

    Subject identifier

    d68f0268-2703-49ef-9239-7391473fe77a
    
    subjectType: SubjectType

    Type of the subject

    UserAccount
    
    tenantId: string

    Tenant ID