Interface AuthenticationContext

Information associated with the current authentication request returned from getAuthenticationContext.

Note that the authUrl field may differ from the URL passed into getAuthenticationContext. In this event, the new authUrl must be passed into authenticate or authenticateOtp, rather than the original URL.

interface AuthenticationContext {
    application: { displayName?: string; id: string };
    authMethods?: AuthenticationMethod[];
    authUrl: string;
    origin: {
        geolocation?: string;
        referer?: string;
        sourceIp?: string;
        userAgent?: string;
    };
}

Properties

application: { displayName?: string; id: string }
authMethods?: AuthenticationMethod[]
authUrl: string
origin: {
    geolocation?: string;
    referer?: string;
    sourceIp?: string;
    userAgent?: string;
}