@sudoplatform/sudo-user
    Preparing search index...

    Interface GraphQLClientOptions

    interface GraphQLClientOptions {
        apiKey?: string;
        authMode?: GraphQLClientAuthMode;
        credentials?: IAMCredentials;
        graphqlUrl: string;
        region: string;
        tokenProvider?: TokenProvider;
    }
    Index

    Properties

    apiKey?: string

    If authMode is API_KEY, this is the API key to use for authentication.

    Authentication mode. If not provided, defaults to OPENID_CONNECT - the usual client mode

    credentials?: IAMCredentials

    if authMode is IAM, override default credential values with these.

    graphqlUrl: string

    GraphQL URL i.e. AppSync URL in most cases.

    region: string

    AWS Region to connect to.

    tokenProvider?: TokenProvider

    A provider which resolves to the ID token for authentication.