@mcma/client
Version:
Node module with classes and functions used to access services in an MCMA environment
11 lines (10 loc) • 369 B
TypeScript
import { Authenticator } from "./authenticator";
import { AuthTypeRegistration } from "./auth-type-registration";
export declare class AuthProvider {
registeredAuthTypes: {
[key: string]: Authenticator;
};
add<T>(authTypeRegistration: AuthTypeRegistration): AuthProvider;
get(authType: string): Authenticator;
getDefault(): Authenticator;
}