Interface SessionScopes
interface SessionScopes {
"platform:incomplete-account": {
badPasswordTime: null | Instant;
failedchecks: string[];
returnTo: string;
user: number;
};
"platform:uploadsession": { chunkSize: number; manifest: UploadManifest };
"wrd:openid.idpstate": {
cbUrl: string;
clientid: number;
code_challenge: null | string;
code_challenge_method: null | "plain" | "S256";
nonce: null | string;
scopes: string[];
state: null | string;
user?: number;
};
[key: string]: Record<string, unknown>;
}
"platform:incomplete-account": {
badPasswordTime: null | Instant;
failedchecks: string[];
returnTo: string;
user: number;
};
"platform:uploadsession": { chunkSize: number; manifest: UploadManifest };
"wrd:openid.idpstate": {
cbUrl: string;
clientid: number;
code_challenge: null | string;
code_challenge_method: null | "plain" | "S256";
nonce: null | string;
scopes: string[];
state: null | string;
user?: number;
};
[key: string]: Record<string, unknown>;
}
Indexable
- [key: string]: Record<string, unknown>
Index
Properties
platform:incomplete- account
"platform:incomplete-account": {
badPasswordTime: null | Instant;
failedchecks: string[];
returnTo: string;
user: number;
}
badPasswordTime: null | Instant;
failedchecks: string[];
returnTo: string;
user: number;
}
Type declaration
badPasswordTime: null | Instant
Time of the bad password
failedchecks: string[]
Failed checks
returnTo: string
Return url
user: number
User id to login
platform:uploadsession
wrd:openid.idpstate
"wrd:openid.idpstate": {
cbUrl: string;
clientid: number;
code_challenge: null | string;
code_challenge_method: null | "plain" | "S256";
nonce: null | string;
scopes: string[];
state: null | string;
user?: number;
}
cbUrl: string;
clientid: number;
code_challenge: null | string;
code_challenge_method: null | "plain" | "S256";
nonce: null | string;
scopes: string[];
state: null | string;
user?: number;
}
Type declaration
cbUrl: string
clientid: number
code_challenge: null | string
code_challenge_method: null | "plain" | "S256"
nonce: null | string
scopes: string[]
state: null | string
Optional
user?: numberUser id to set
Extend this interface to define the format of your own sessions