MCPcopy
hub / github.com/authts/oidc-client-ts / SigninRequestCreateArgs

Interface SigninRequestCreateArgs

src/SigninRequest.ts:11–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 * @see https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
10 */
11export interface SigninRequestCreateArgs {
12 // mandatory
13 url: string;
14 authority: string;
15 client_id: string;
16 redirect_uri: string;
17 response_type: string;
18 scope: string;
19
20 // optional
21 response_mode?: "query" | "fragment";
22 nonce?: string;
23 display?: string;
24 dpopJkt?: string;
25 prompt?: string;
26 max_age?: number;
27 ui_locales?: string;
28 id_token_hint?: string;
29 login_hint?: string;
30 acr_values?: string;
31
32 // other
33 resource?: string | string[];
34 request?: string;
35 request_uri?: string;
36 request_type?: string;
37 extraQueryParams?: Record<string, string | number | boolean>;
38
39 // special
40 extraTokenParams?: Record<string, unknown>;
41 client_secret?: string;
42 skipUserInfo?: boolean;
43 disablePKCE?: boolean;
44 /** custom "state", which can be used by a caller to have "data" round tripped */
45 state_data?: unknown;
46 url_state?: string;
47 omitScopeWhenRequesting?: boolean;
48}
49
50/**
51 * @public

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…