• Parses a JWT token to produce an AuthenticatedManagementSubject. This function is intended to be used by any service which works with the Mosaic Management System.

    Parameters

    • token: string

      JWT token without Bearer prefix

    • authParams: string | AuthenticationConfig

      This could be either a string containing the Auth Endpoint for the ID Service or an instance of AuthenticationConfig.

    Returns Promise<AuthenticatedManagementSubject>

    AuthenticatedManagementSubject

Generated using TypeDoc