Axinom Mosaic Libraries
    Preparing search index...

    Module @axinom/mosaic-id-guard

    @axinom/mosaic-id-guard

    This package is part of the Axinom Mosaic development platform. More information can be found at https://portal.axinom.com/mosaic.

    This package can be licensed under the Axinom Products Licensing Agreement or evaluated under the Axinom Products Evaluation Agreement.
    No part of Axinom's software may be copied, modified, propagated, or distributed except in accordance with the terms contained in the Axinom Products Licensing Agreement and Axinom Products Evaluation Agreement.

    Modules

    internal

    Enumerations

    ErrorCode
    SubjectType

    Classes

    GuardedMessageHandler
    GuardedTransactionalInboxMessageHandler
    IdGuardError
    ManagedServiceGuardedMessageHandler

    Interfaces

    AuthenticatedEndUser
    AuthenticatedEndUserApplication
    AuthenticatedEndUserMessageInfo
    AuthenticatedEndUserRequest
    AuthenticatedManagementRequest
    AuthenticatedManagementSubject
    AuthenticatedManagementSubjectMessageInfo
    AuthenticatedRequest
    AuthenticationConfig
    EndUserAuthenticationContext
    EnvironmentInfo
    GuardedContext
    ManagementAuthenticationContext
    PermissionDefinition

    Type Aliases

    GuardedConfig

    Variables

    assertAuthenticatedEndUser
    assertAuthenticatedManagementSubject
    assertAuthenticatedRequest
    assertEndUserApplication
    assertEndUserAuthenticationContext
    assertGenericAuthenticatedSubject
    assertManagementAuthenticationContext
    EMBEDDED_END_USER_TOKEN_KEY
    EnforceStrictPermissionsPlugin
    getPermissionsForOperation
    IdGuardErrors
    QueryMutationGuardPlugin
    SIGNING_ALGORITHM
    SubscriptionGuardPlugin
    TOKEN_ISSUER_ID_SERVICE
    TOKEN_ISSUER_USER_SERVICE

    Functions

    assertManagementSubjectAuthorized
    authenticationMiddleware
    AxGuardPlugin
    checkSigningKeyExists
    decodeEndUserAccessToken
    decodeManagementAccessToken
    getAuthenticatedEndUser
    getAuthenticatedManagementSubject
    getEndUserAuthenticationContext
    getJwtVerifyOptions
    getManagementAuthenticationContext
    getMessageInfoManagementSubject
    handleEndUserAuthorization
    handleManagementUserAuthorization
    parseJwtToken
    permissionsCheck
    permissionsMiddleware
    requiredPermissionsExists
    setupEndUserAuthentication
    setupEndUserGQLSubscriptionAuthentication
    setupManagementAuthentication
    setupManagementGQLSubscriptionAuthentication
    throwEndUserAuthError
    throwManagementAuthError