-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathCustomAuthActionInputs.ts
More file actions
40 lines (32 loc) · 913 Bytes
/
CustomAuthActionInputs.ts
File metadata and controls
40 lines (32 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { UserAccountAttributes } from "./UserAccountAttributes.js";
export type CustomAuthActionInputs = {
correlationId?: string;
};
export type AccountRetrievalInputs = CustomAuthActionInputs;
export type SignInInputs = CustomAuthActionInputs & {
username: string;
password?: string;
scopes?: Array<string>;
claims?: string;
};
export type SignUpInputs = CustomAuthActionInputs & {
username: string;
password?: string;
attributes?: UserAccountAttributes;
};
export type ResetPasswordInputs = CustomAuthActionInputs & {
username: string;
};
export type AccessTokenRetrievalInputs = {
forceRefresh: boolean;
scopes?: Array<string>;
claims?: string;
};
export type SignInWithContinuationTokenInputs = {
scopes?: Array<string>;
claims?: string;
};