interface ReviewDefaultAdapterOptions {
    authEncSecret: string;
    authSignSecret: string;
    authenticate?: AuthenticationFunction;
    customFields?: {
        review: CustomField[];
    };
    serviceEndpoints: {
        catalog: string;
        order: string;
        organization: string;
        review: string;
        user: string;
    };
}

Properties

authEncSecret: string

Secret use to encrypt the JWT Token

authSignSecret: string

Secret use to sign the JWT Token

authenticate?: AuthenticationFunction

Function that will be called to authenticate the user via validators. When not provided, this will default to the default for the given authType.

Typically you would only provide this if designing your own authentication.

customFields?: {
    review: CustomField[];
}

Custom field configuration for data types on this service

Type declaration

  • review: CustomField[]
serviceEndpoints: {
    catalog: string;
    order: string;
    organization: string;
    review: string;
    user: string;
}

Type declaration

  • catalog: string

    The catalog endpoint

  • order: string

    The order endpoint

  • organization: string

    The organization endpoint

  • review: string

    The review service endpoint

  • user: string

    The user service endpoint

Generated using TypeDoc