interface SudoUserOptions {
    apiClient?: ApiClient;
    authenticationStore?: AuthenticationStore;
    authUI?: AuthUI;
    config?: {
        identityService: {
            apiKey: string;
            apiUrl: string;
            bucket: string;
            clientId: string;
            identityPoolId: string;
            poolId: string;
            region: string;
            registrationMethods: string[];
            transientBucket: string;
        } & { refreshTokenLifetime?: number };
    } & {
        federatedSignIn?: {
            appClientId: string;
            signInRedirectUri: string;
            signOutRedirectUri: string;
            webDomain: string;
        } & { identityProvider?: string; refreshTokenLifetime?: number };
    };
    identityProvider?: IdentityProvider;
    launchUriFn?: (url: string) => void;
    logger?: Logger;
    sudoKeyManager?: SudoKeyManager;
}

Properties

apiClient?: ApiClient
authenticationStore?: AuthenticationStore
authUI?: AuthUI
config?: {
    identityService: {
        apiKey: string;
        apiUrl: string;
        bucket: string;
        clientId: string;
        identityPoolId: string;
        poolId: string;
        region: string;
        registrationMethods: string[];
        transientBucket: string;
    } & { refreshTokenLifetime?: number };
} & {
    federatedSignIn?: {
        appClientId: string;
        signInRedirectUri: string;
        signOutRedirectUri: string;
        webDomain: string;
    } & { identityProvider?: string; refreshTokenLifetime?: number };
}
identityProvider?: IdentityProvider
launchUriFn?: (url: string) => void
logger?: Logger
sudoKeyManager?: SudoKeyManager