mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
17 lines
366 B
TypeScript
17 lines
366 B
TypeScript
|
import U2f = require("u2f");
|
||
|
|
||
|
export interface AuthenticationSession {
|
||
|
userid: string;
|
||
|
first_factor: boolean;
|
||
|
second_factor: 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;
|
||
|
}
|