Interface SessionScopes
interface SessionScopes {
"platform:incomplete-account": {
badPasswordTime: null | Instant;
failedchecks: PasswordCheck[];
returnTo: string;
user: number;
};
"platform:uploadsession": { chunkSize: number; manifest: UploadManifest };
"system:oauth2": {
client_scope?: string;
code_verifier: string;
finalreturnurl: string;
metadata_url?: string;
oauthconfig: {
authorizeurl: string;
authtokenurl: string;
clientid: string;
clientsecret: string;
clientsigning: null | ToSnakeCase<ClientSigning>;
redirecturl: string;
};
redirect_uri?: string;
requeststart: Date;
tokeninfo?: OAuth2Tokens;
user_data?: Record<string, unknown>;
};
"wrd:openid.idpstate": {
cbUrl: string;
clientid: number;
code_challenge: null
| string;
code_challenge_method: null | "S256" | "plain";
nonce: null | string;
response_mode: ResponseModesScopes;
scopes: string[];
state: null | string;
user?: number;
};
[key: string]: Record<string, unknown>;
}
"platform:incomplete-account": {
badPasswordTime: null | Instant;
failedchecks: PasswordCheck[];
returnTo: string;
user: number;
};
"platform:uploadsession": { chunkSize: number; manifest: UploadManifest };
"system:oauth2": {
client_scope?: string;
code_verifier: string;
finalreturnurl: string;
metadata_url?: string;
oauthconfig: {
authorizeurl: string;
authtokenurl: string;
clientid: string;
clientsecret: string;
clientsigning: null | ToSnakeCase<ClientSigning>;
redirecturl: string;
};
redirect_uri?: string;
requeststart: Date;
tokeninfo?: OAuth2Tokens;
user_data?: Record<string, unknown>;
};
"wrd:openid.idpstate": {
cbUrl: string;
clientid: number;
code_challenge: null
| string;
code_challenge_method: null | "S256" | "plain";
nonce: null | string;
response_mode: ResponseModesScopes;
scopes: string[];
state: null | string;
user?: number;
};
[key: string]: Record<string, unknown>;
}
Indexable
- [key: string]: Record<string, unknown>
Properties
platform:incomplete- account
"platform:incomplete-account": {
badPasswordTime: null | Instant;
failedchecks: PasswordCheck[];
returnTo: string;
user: number;
}
badPasswordTime: null | Instant;
failedchecks: PasswordCheck[];
returnTo: string;
user: number;
}
Type declaration
badPasswordTime: null | Instant
Time of the bad password
failedchecks: PasswordCheck[]
Failed checks
returnTo: string
Return url
user: number
User id to login
platform:uploadsession
system:oauth2
"system:oauth2": {
client_scope?: string;
code_verifier: string;
finalreturnurl: string;
metadata_url?: string;
oauthconfig: {
authorizeurl: string;
authtokenurl: string;
clientid: string;
clientsecret: string;
clientsigning: null | ToSnakeCase<ClientSigning>;
redirecturl: string;
};
redirect_uri?: string;
requeststart: Date;
tokeninfo?: OAuth2Tokens;
user_data?: Record<string, unknown>;
}
client_scope?: string;
code_verifier: string;
finalreturnurl: string;
metadata_url?: string;
oauthconfig: {
authorizeurl: string;
authtokenurl: string;
clientid: string;
clientsecret: string;
clientsigning: null | ToSnakeCase<ClientSigning>;
redirecturl: string;
};
redirect_uri?: string;
requeststart: Date;
tokeninfo?: OAuth2Tokens;
user_data?: Record<string, unknown>;
}
wrd:openid.idpstate
"wrd:openid.idpstate": {
cbUrl: string;
clientid: number;
code_challenge: null | string;
code_challenge_method: null | "S256" | "plain";
nonce: null | string;
response_mode: ResponseModesScopes;
scopes: string[];
state: null | string;
user?: number;
}
cbUrl: string;
clientid: number;
code_challenge: null | string;
code_challenge_method: null | "S256" | "plain";
nonce: null | string;
response_mode: ResponseModesScopes;
scopes: string[];
state: null | string;
user?: number;
}
Type declaration
cbUrl: string
clientid: number
code_challenge: null | string
code_challenge_method: null | "S256" | "plain"
nonce: null | string
response_mode: ResponseModesScopes
scopes: string[]
state: null | string
Optionaluser?: numberUser id to set
Extend this interface to define the format of your own sessions