Member Junction
    Preparing search index...

    MJ-aware auth binding that can resolve from MJ Credentials.

    Either Method OR Credential must be provided, not both. When Credential is provided, MJComputerUseEngine resolves the credential's CredentialType and auto-maps to the correct AuthMethod:

    CredentialType Name Maps to
    API Key APIKeyHeaderAuthMethod
    Basic Auth BasicAuthMethod
    OAuth2 Client Credentials OAuthClientCredentialsAuthMethod
    API Key with Endpoint BearerTokenAuthMethod

    The Credential's encrypted Values field is decrypted server-side automatically by MJ's field-level encryption when the entity loads.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    Credential?: MJCredentialEntity

    Alternative to Method: resolve auth from an MJ MJCredentialEntity. Uses the actual MJCredentialEntity from @memberjunction/core-entities. If Credential is set, Method is ignored.

    Domains: string[]

    Domain patterns this auth applies to

    Method: AuthMethod

    The auth method to apply for matching domains