mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
9fc55543fd
The possible values for ACL policies are now: bypass, one_factor, two_factor, deny. This change also deprecate auth_methods because the method is now associated directly to a resource in the ACLs instead of a domain.
18 lines
433 B
TypeScript
18 lines
433 B
TypeScript
import U2f = require("u2f");
|
|
import { Level } from "../src/lib/authentication/Level";
|
|
|
|
export interface AuthenticationSession {
|
|
userid: string;
|
|
authentication_level: Level;
|
|
keep_me_logged_in: boolean;
|
|
last_activity_datetime: number;
|
|
identity_check?: {
|
|
challenge: string;
|
|
userid: string;
|
|
};
|
|
register_request?: U2f.Request;
|
|
sign_request?: U2f.Request;
|
|
email: string;
|
|
groups: string[];
|
|
redirect?: string;
|
|
} |