ic-reactor
    Preparing search index...

    Interface UseAuthParameters

    interface UseAuthParameters {
        onAuthentication?: (promise: () => Promise<types.Identity>) => void;
        onAuthenticationSuccess?: (identity: types.Identity) => void;
        onAuthenticationFailure?: (error: undefined | string) => void;
        onLoginSuccess?: (principal: types.Principal) => void;
        onLoginError?: (error: undefined | string) => void;
        onLogin?: (promise: () => Promise<types.Principal>) => void;
        onLoggedOut?: () => void;
    }
    Index

    Properties

    onAuthentication?: (promise: () => Promise<types.Identity>) => void
    onAuthenticationSuccess?: (identity: types.Identity) => void
    onAuthenticationFailure?: (error: undefined | string) => void
    onLoginSuccess?: (principal: types.Principal) => void
    onLoginError?: (error: undefined | string) => void
    onLogin?: (promise: () => Promise<types.Principal>) => void
    onLoggedOut?: () => void