All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.src.auth-client-props.d.ts Maven / Gradle / Ivy

The newest version!
import { CredentialProvider } from '.';
import { AuthClientConfiguration } from './config/auth-client-configuration';
export interface AuthClientProps {
    /**
     * controls how the client will get authentication information for connecting to the Momento service
     */
    credentialProvider?: CredentialProvider;
    /**
     * Controls the configuration settings for the auth client, such as logging configuration.
     */
    configuration?: AuthClientConfiguration;
    /**
     * Configures whether the client should return a Momento Error object or throw an exception when an
     * error occurs. By default, this is set to false, and the client will return a Momento Error object on errors. Set it
     * to true if you prefer for exceptions to be thrown.
     */
    throwOnErrors?: boolean;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy