@atcute/oauth-types 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/build-client-metadata.d.ts +18 -160
- package/dist/build-client-metadata.d.ts.map +1 -1
- package/dist/build-client-metadata.js +73 -3
- package/dist/build-client-metadata.js.map +1 -1
- package/dist/index.d.ts +31 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/atcute-client-shared.d.ts +8 -0
- package/dist/schemas/atcute-client-shared.d.ts.map +1 -0
- package/dist/schemas/atcute-client-shared.js +15 -0
- package/dist/schemas/atcute-client-shared.js.map +1 -0
- package/dist/schemas/atcute-confidential-client-metadata.d.ts +228 -4
- package/dist/schemas/atcute-confidential-client-metadata.d.ts.map +1 -1
- package/dist/schemas/atcute-confidential-client-metadata.js +48 -88
- package/dist/schemas/atcute-confidential-client-metadata.js.map +1 -1
- package/dist/schemas/atcute-public-client-metadata.d.ts +95 -0
- package/dist/schemas/atcute-public-client-metadata.d.ts.map +1 -0
- package/dist/schemas/atcute-public-client-metadata.js +74 -0
- package/dist/schemas/atcute-public-client-metadata.js.map +1 -0
- package/dist/schemas/atproto-authorization-server-metadata.d.ts +786 -4
- package/dist/schemas/atproto-authorization-server-metadata.d.ts.map +1 -1
- package/dist/schemas/atproto-authorization-server-metadata.js +2 -18
- package/dist/schemas/atproto-authorization-server-metadata.js.map +1 -1
- package/dist/schemas/atproto-oauth-scope.d.ts +3 -3
- package/dist/schemas/atproto-oauth-scope.d.ts.map +1 -1
- package/dist/schemas/atproto-oauth-scope.js +2 -2
- package/dist/schemas/atproto-oauth-scope.js.map +1 -1
- package/dist/schemas/atproto-oauth-token-response.d.ts +17 -17
- package/dist/schemas/atproto-oauth-token-response.d.ts.map +1 -1
- package/dist/schemas/atproto-oauth-token-response.js +6 -6
- package/dist/schemas/atproto-oauth-token-response.js.map +1 -1
- package/dist/schemas/atproto-protected-resource-metadata.d.ts +100 -4
- package/dist/schemas/atproto-protected-resource-metadata.d.ts.map +1 -1
- package/dist/schemas/atproto-protected-resource-metadata.js +2 -11
- package/dist/schemas/atproto-protected-resource-metadata.js.map +1 -1
- package/dist/schemas/jwk.d.ts +4289 -42
- package/dist/schemas/jwk.d.ts.map +1 -1
- package/dist/schemas/jwk.js +58 -91
- package/dist/schemas/jwk.js.map +1 -1
- package/dist/schemas/jwks.d.ts +87 -42
- package/dist/schemas/jwks.d.ts.map +1 -1
- package/dist/schemas/jwks.js +13 -29
- package/dist/schemas/jwks.js.map +1 -1
- package/dist/schemas/oauth-authorization-details.d.ts +18 -18
- package/dist/schemas/oauth-authorization-details.d.ts.map +1 -1
- package/dist/schemas/oauth-authorization-details.js +7 -7
- package/dist/schemas/oauth-authorization-details.js.map +1 -1
- package/dist/schemas/oauth-authorization-server-metadata.d.ts +462 -48
- package/dist/schemas/oauth-authorization-server-metadata.d.ts.map +1 -1
- package/dist/schemas/oauth-authorization-server-metadata.js +46 -65
- package/dist/schemas/oauth-authorization-server-metadata.js.map +1 -1
- package/dist/schemas/oauth-client-id-discoverable.d.ts +2 -2
- package/dist/schemas/oauth-client-id-discoverable.d.ts.map +1 -1
- package/dist/schemas/oauth-client-id-discoverable.js +20 -22
- package/dist/schemas/oauth-client-id-discoverable.js.map +1 -1
- package/dist/schemas/oauth-client-id.d.ts +3 -3
- package/dist/schemas/oauth-client-id.d.ts.map +1 -1
- package/dist/schemas/oauth-client-id.js +2 -2
- package/dist/schemas/oauth-client-id.js.map +1 -1
- package/dist/schemas/oauth-client-metadata.d.ts +73 -51
- package/dist/schemas/oauth-client-metadata.d.ts.map +1 -1
- package/dist/schemas/oauth-client-metadata.js +33 -40
- package/dist/schemas/oauth-client-metadata.js.map +1 -1
- package/dist/schemas/oauth-code-challenge-method.d.ts +3 -3
- package/dist/schemas/oauth-code-challenge-method.d.ts.map +1 -1
- package/dist/schemas/oauth-code-challenge-method.js +2 -2
- package/dist/schemas/oauth-code-challenge-method.js.map +1 -1
- package/dist/schemas/oauth-endpoint-auth-method.d.ts +3 -3
- package/dist/schemas/oauth-endpoint-auth-method.d.ts.map +1 -1
- package/dist/schemas/oauth-endpoint-auth-method.js +10 -2
- package/dist/schemas/oauth-endpoint-auth-method.js.map +1 -1
- package/dist/schemas/oauth-grant-type.d.ts +3 -3
- package/dist/schemas/oauth-grant-type.d.ts.map +1 -1
- package/dist/schemas/oauth-grant-type.js +10 -3
- package/dist/schemas/oauth-grant-type.js.map +1 -1
- package/dist/schemas/oauth-issuer-identifier.d.ts +3 -3
- package/dist/schemas/oauth-issuer-identifier.d.ts.map +1 -1
- package/dist/schemas/oauth-issuer-identifier.js +16 -9
- package/dist/schemas/oauth-issuer-identifier.js.map +1 -1
- package/dist/schemas/oauth-par-response.d.ts +5 -5
- package/dist/schemas/oauth-par-response.d.ts.map +1 -1
- package/dist/schemas/oauth-par-response.js +3 -3
- package/dist/schemas/oauth-par-response.js.map +1 -1
- package/dist/schemas/oauth-prompt.d.ts +3 -3
- package/dist/schemas/oauth-prompt.d.ts.map +1 -1
- package/dist/schemas/oauth-prompt.js +2 -2
- package/dist/schemas/oauth-prompt.js.map +1 -1
- package/dist/schemas/oauth-protected-resource-metadata.d.ts +88 -16
- package/dist/schemas/oauth-protected-resource-metadata.d.ts.map +1 -1
- package/dist/schemas/oauth-protected-resource-metadata.js +14 -26
- package/dist/schemas/oauth-protected-resource-metadata.js.map +1 -1
- package/dist/schemas/oauth-redirect-uri.d.ts +5 -5
- package/dist/schemas/oauth-redirect-uri.d.ts.map +1 -1
- package/dist/schemas/oauth-redirect-uri.js +3 -16
- package/dist/schemas/oauth-redirect-uri.js.map +1 -1
- package/dist/schemas/oauth-response-mode.d.ts +3 -3
- package/dist/schemas/oauth-response-mode.d.ts.map +1 -1
- package/dist/schemas/oauth-response-mode.js +2 -2
- package/dist/schemas/oauth-response-mode.js.map +1 -1
- package/dist/schemas/oauth-response-type.d.ts +3 -3
- package/dist/schemas/oauth-response-type.d.ts.map +1 -1
- package/dist/schemas/oauth-response-type.js +13 -7
- package/dist/schemas/oauth-response-type.js.map +1 -1
- package/dist/schemas/oauth-scope.d.ts +3 -3
- package/dist/schemas/oauth-scope.d.ts.map +1 -1
- package/dist/schemas/oauth-scope.js +2 -2
- package/dist/schemas/oauth-scope.js.map +1 -1
- package/dist/schemas/oauth-token-response.d.ts +17 -17
- package/dist/schemas/oauth-token-response.d.ts.map +1 -1
- package/dist/schemas/oauth-token-response.js +7 -7
- package/dist/schemas/oauth-token-response.js.map +1 -1
- package/dist/schemas/oauth-token-type.d.ts +3 -3
- package/dist/schemas/oauth-token-type.d.ts.map +1 -1
- package/dist/schemas/oauth-token-type.js +8 -7
- package/dist/schemas/oauth-token-type.js.map +1 -1
- package/dist/schemas/uri.d.ts +7 -7
- package/dist/schemas/uri.d.ts.map +1 -1
- package/dist/schemas/uri.js +44 -44
- package/dist/schemas/uri.js.map +1 -1
- package/dist/schemas/utils.d.ts.map +1 -1
- package/dist/schemas/utils.js.map +1 -1
- package/dist/scope.d.ts.map +1 -1
- package/dist/scope.js.map +1 -1
- package/lib/build-client-metadata.ts +92 -6
- package/lib/index.ts +38 -30
- package/lib/schemas/atcute-client-shared.ts +25 -0
- package/lib/schemas/atcute-confidential-client-metadata.ts +81 -111
- package/lib/schemas/atcute-public-client-metadata.ts +101 -0
- package/lib/schemas/atproto-authorization-server-metadata.ts +22 -23
- package/lib/schemas/atproto-oauth-scope.ts +8 -5
- package/lib/schemas/atproto-oauth-token-response.ts +10 -9
- package/lib/schemas/atproto-protected-resource-metadata.ts +15 -15
- package/lib/schemas/jwk.ts +104 -120
- package/lib/schemas/jwks.ts +28 -40
- package/lib/schemas/oauth-authorization-details.ts +10 -10
- package/lib/schemas/oauth-authorization-server-metadata.ts +72 -74
- package/lib/schemas/oauth-client-id-discoverable.ts +43 -48
- package/lib/schemas/oauth-client-id.ts +3 -3
- package/lib/schemas/oauth-client-metadata.ts +45 -49
- package/lib/schemas/oauth-code-challenge-method.ts +3 -3
- package/lib/schemas/oauth-endpoint-auth-method.ts +11 -11
- package/lib/schemas/oauth-grant-type.ts +11 -11
- package/lib/schemas/oauth-issuer-identifier.ts +35 -27
- package/lib/schemas/oauth-par-response.ts +4 -4
- package/lib/schemas/oauth-prompt.ts +3 -9
- package/lib/schemas/oauth-protected-resource-metadata.ts +26 -35
- package/lib/schemas/oauth-redirect-uri.ts +15 -23
- package/lib/schemas/oauth-response-mode.ts +3 -7
- package/lib/schemas/oauth-response-type.ts +12 -12
- package/lib/schemas/oauth-scope.ts +3 -3
- package/lib/schemas/oauth-token-response.ts +10 -10
- package/lib/schemas/oauth-token-type.ts +16 -12
- package/lib/schemas/uri.ts +89 -76
- package/package.json +9 -8
|
@@ -1,54 +1,98 @@
|
|
|
1
|
-
import * as v from '
|
|
1
|
+
import * as v from 'valibot';
|
|
2
2
|
/**
|
|
3
3
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc8414}
|
|
4
4
|
*/
|
|
5
|
-
export declare const oauthAuthorizationServerMetadataSchema: v.
|
|
6
|
-
issuer: v.
|
|
7
|
-
claims_supported: v.
|
|
8
|
-
claims_locales_supported: v.
|
|
9
|
-
claims_parameter_supported: v.
|
|
10
|
-
request_parameter_supported: v.
|
|
11
|
-
request_uri_parameter_supported: v.
|
|
12
|
-
require_request_uri_registration: v.
|
|
13
|
-
scopes_supported: v.
|
|
14
|
-
subject_types_supported: v.
|
|
15
|
-
response_types_supported: v.
|
|
16
|
-
response_modes_supported: v.
|
|
17
|
-
grant_types_supported: v.
|
|
18
|
-
code_challenge_methods_supported: v.
|
|
19
|
-
ui_locales_supported: v.
|
|
20
|
-
id_token_signing_alg_values_supported: v.
|
|
21
|
-
display_values_supported: v.
|
|
22
|
-
prompt_values_supported: v.
|
|
23
|
-
request_object_signing_alg_values_supported: v.
|
|
24
|
-
authorization_response_iss_parameter_supported: v.
|
|
25
|
-
authorization_details_types_supported: v.
|
|
26
|
-
request_object_encryption_alg_values_supported: v.
|
|
27
|
-
request_object_encryption_enc_values_supported: v.
|
|
28
|
-
jwks_uri: v.
|
|
29
|
-
authorization_endpoint: v.
|
|
30
|
-
token_endpoint: v.
|
|
31
|
-
token_endpoint_auth_methods_supported: v.
|
|
32
|
-
token_endpoint_auth_signing_alg_values_supported: v.
|
|
33
|
-
revocation_endpoint: v.
|
|
34
|
-
revocation_endpoint_auth_methods_supported: v.
|
|
35
|
-
revocation_endpoint_auth_signing_alg_values_supported: v.
|
|
36
|
-
introspection_endpoint: v.
|
|
37
|
-
introspection_endpoint_auth_methods_supported: v.
|
|
38
|
-
introspection_endpoint_auth_signing_alg_values_supported: v.
|
|
39
|
-
pushed_authorization_request_endpoint: v.
|
|
40
|
-
pushed_authorization_request_endpoint_auth_methods_supported: v.
|
|
41
|
-
pushed_authorization_request_endpoint_auth_signing_alg_values_supported: v.
|
|
42
|
-
require_pushed_authorization_requests: v.
|
|
43
|
-
userinfo_endpoint: v.
|
|
44
|
-
end_session_endpoint: v.
|
|
45
|
-
registration_endpoint: v.
|
|
46
|
-
dpop_signing_alg_values_supported: v.
|
|
47
|
-
protected_resources: v.
|
|
48
|
-
client_id_metadata_document_supported: v.
|
|
5
|
+
export declare const oauthAuthorizationServerMetadataSchema: v.LooseObjectSchema<{
|
|
6
|
+
readonly issuer: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, v.RawCheckAction<string>]>;
|
|
7
|
+
readonly claims_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8
|
+
readonly claims_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9
|
+
readonly claims_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
10
|
+
readonly request_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11
|
+
readonly request_uri_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
12
|
+
readonly require_request_uri_registration: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
13
|
+
readonly scopes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
14
|
+
readonly subject_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
15
|
+
readonly response_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
16
|
+
readonly response_modes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
17
|
+
readonly grant_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
18
|
+
readonly code_challenge_methods_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["S256", "plain"], undefined>, undefined>, undefined>;
|
|
19
|
+
readonly ui_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
20
|
+
readonly id_token_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
21
|
+
readonly display_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
22
|
+
readonly prompt_values_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["none", "login", "consent", "select_account", "create"], undefined>, undefined>, undefined>;
|
|
23
|
+
readonly request_object_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
24
|
+
readonly authorization_response_iss_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
25
|
+
readonly authorization_details_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
26
|
+
readonly request_object_encryption_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
27
|
+
readonly request_object_encryption_enc_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
28
|
+
readonly jwks_uri: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
29
|
+
readonly authorization_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
|
|
30
|
+
readonly token_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
|
|
31
|
+
readonly token_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
32
|
+
readonly token_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
33
|
+
readonly revocation_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
34
|
+
readonly revocation_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
35
|
+
readonly revocation_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
36
|
+
readonly introspection_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
37
|
+
readonly introspection_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
38
|
+
readonly introspection_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
39
|
+
readonly pushed_authorization_request_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
40
|
+
readonly pushed_authorization_request_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
41
|
+
readonly pushed_authorization_request_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
42
|
+
readonly require_pushed_authorization_requests: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
43
|
+
readonly userinfo_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
44
|
+
readonly end_session_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
45
|
+
readonly registration_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
46
|
+
readonly dpop_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
47
|
+
readonly protected_resources: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>, undefined>;
|
|
48
|
+
readonly client_id_metadata_document_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
49
49
|
}, undefined>;
|
|
50
|
-
export type OAuthAuthorizationServerMetadata = v.
|
|
51
|
-
export declare const oauthAuthorizationServerMetadataValidator: v.
|
|
50
|
+
export type OAuthAuthorizationServerMetadata = v.InferOutput<typeof oauthAuthorizationServerMetadataSchema>;
|
|
51
|
+
export declare const oauthAuthorizationServerMetadataValidator: v.SchemaWithPipe<readonly [v.LooseObjectSchema<{
|
|
52
|
+
readonly issuer: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, v.RawCheckAction<string>]>;
|
|
53
|
+
readonly claims_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
54
|
+
readonly claims_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
55
|
+
readonly claims_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
56
|
+
readonly request_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
57
|
+
readonly request_uri_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
58
|
+
readonly require_request_uri_registration: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
59
|
+
readonly scopes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
60
|
+
readonly subject_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
61
|
+
readonly response_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
62
|
+
readonly response_modes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
63
|
+
readonly grant_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
64
|
+
readonly code_challenge_methods_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["S256", "plain"], undefined>, undefined>, undefined>;
|
|
65
|
+
readonly ui_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
66
|
+
readonly id_token_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
67
|
+
readonly display_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
68
|
+
readonly prompt_values_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["none", "login", "consent", "select_account", "create"], undefined>, undefined>, undefined>;
|
|
69
|
+
readonly request_object_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
70
|
+
readonly authorization_response_iss_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
71
|
+
readonly authorization_details_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
72
|
+
readonly request_object_encryption_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
73
|
+
readonly request_object_encryption_enc_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
74
|
+
readonly jwks_uri: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
75
|
+
readonly authorization_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
|
|
76
|
+
readonly token_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
|
|
77
|
+
readonly token_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
78
|
+
readonly token_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
79
|
+
readonly revocation_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
80
|
+
readonly revocation_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
81
|
+
readonly revocation_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
82
|
+
readonly introspection_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
83
|
+
readonly introspection_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
84
|
+
readonly introspection_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
85
|
+
readonly pushed_authorization_request_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
86
|
+
readonly pushed_authorization_request_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
87
|
+
readonly pushed_authorization_request_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
88
|
+
readonly require_pushed_authorization_requests: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
89
|
+
readonly userinfo_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
90
|
+
readonly end_session_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
91
|
+
readonly registration_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
|
|
92
|
+
readonly dpop_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
93
|
+
readonly protected_resources: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>, undefined>;
|
|
94
|
+
readonly client_id_metadata_document_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
95
|
+
}, undefined>, v.BaseValidation<{
|
|
52
96
|
issuer: string;
|
|
53
97
|
claims_supported?: string[] | undefined;
|
|
54
98
|
claims_locales_supported?: string[] | undefined;
|
|
@@ -92,5 +136,375 @@ export declare const oauthAuthorizationServerMetadataValidator: v.Type<{
|
|
|
92
136
|
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
93
137
|
protected_resources?: string[] | undefined;
|
|
94
138
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
95
|
-
}
|
|
139
|
+
} & {
|
|
140
|
+
[key: string]: unknown;
|
|
141
|
+
}, {
|
|
142
|
+
issuer: string;
|
|
143
|
+
claims_supported?: string[] | undefined;
|
|
144
|
+
claims_locales_supported?: string[] | undefined;
|
|
145
|
+
claims_parameter_supported?: boolean | undefined;
|
|
146
|
+
request_parameter_supported?: boolean | undefined;
|
|
147
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
148
|
+
require_request_uri_registration?: boolean | undefined;
|
|
149
|
+
scopes_supported?: string[] | undefined;
|
|
150
|
+
subject_types_supported?: string[] | undefined;
|
|
151
|
+
response_types_supported?: string[] | undefined;
|
|
152
|
+
response_modes_supported?: string[] | undefined;
|
|
153
|
+
grant_types_supported?: string[] | undefined;
|
|
154
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
155
|
+
ui_locales_supported?: string[] | undefined;
|
|
156
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
157
|
+
display_values_supported?: string[] | undefined;
|
|
158
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
159
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
160
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
161
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
162
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
163
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
164
|
+
jwks_uri?: string | undefined;
|
|
165
|
+
authorization_endpoint: string;
|
|
166
|
+
token_endpoint: string;
|
|
167
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
168
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
169
|
+
revocation_endpoint?: string | undefined;
|
|
170
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
171
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
172
|
+
introspection_endpoint?: string | undefined;
|
|
173
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
174
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
175
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
176
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
177
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
178
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
179
|
+
userinfo_endpoint?: string | undefined;
|
|
180
|
+
end_session_endpoint?: string | undefined;
|
|
181
|
+
registration_endpoint?: string | undefined;
|
|
182
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
183
|
+
protected_resources?: string[] | undefined;
|
|
184
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
185
|
+
} & {
|
|
186
|
+
[key: string]: unknown;
|
|
187
|
+
}, v.CheckIssue<{
|
|
188
|
+
issuer: string;
|
|
189
|
+
claims_supported?: string[] | undefined;
|
|
190
|
+
claims_locales_supported?: string[] | undefined;
|
|
191
|
+
claims_parameter_supported?: boolean | undefined;
|
|
192
|
+
request_parameter_supported?: boolean | undefined;
|
|
193
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
194
|
+
require_request_uri_registration?: boolean | undefined;
|
|
195
|
+
scopes_supported?: string[] | undefined;
|
|
196
|
+
subject_types_supported?: string[] | undefined;
|
|
197
|
+
response_types_supported?: string[] | undefined;
|
|
198
|
+
response_modes_supported?: string[] | undefined;
|
|
199
|
+
grant_types_supported?: string[] | undefined;
|
|
200
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
201
|
+
ui_locales_supported?: string[] | undefined;
|
|
202
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
203
|
+
display_values_supported?: string[] | undefined;
|
|
204
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
205
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
206
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
207
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
208
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
209
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
210
|
+
jwks_uri?: string | undefined;
|
|
211
|
+
authorization_endpoint: string;
|
|
212
|
+
token_endpoint: string;
|
|
213
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
214
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
215
|
+
revocation_endpoint?: string | undefined;
|
|
216
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
217
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
218
|
+
introspection_endpoint?: string | undefined;
|
|
219
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
220
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
221
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
222
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
223
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
224
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
225
|
+
userinfo_endpoint?: string | undefined;
|
|
226
|
+
end_session_endpoint?: string | undefined;
|
|
227
|
+
registration_endpoint?: string | undefined;
|
|
228
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
229
|
+
protected_resources?: string[] | undefined;
|
|
230
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
231
|
+
} & {
|
|
232
|
+
[key: string]: unknown;
|
|
233
|
+
}>>, v.BaseValidation<{
|
|
234
|
+
issuer: string;
|
|
235
|
+
claims_supported?: string[] | undefined;
|
|
236
|
+
claims_locales_supported?: string[] | undefined;
|
|
237
|
+
claims_parameter_supported?: boolean | undefined;
|
|
238
|
+
request_parameter_supported?: boolean | undefined;
|
|
239
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
240
|
+
require_request_uri_registration?: boolean | undefined;
|
|
241
|
+
scopes_supported?: string[] | undefined;
|
|
242
|
+
subject_types_supported?: string[] | undefined;
|
|
243
|
+
response_types_supported?: string[] | undefined;
|
|
244
|
+
response_modes_supported?: string[] | undefined;
|
|
245
|
+
grant_types_supported?: string[] | undefined;
|
|
246
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
247
|
+
ui_locales_supported?: string[] | undefined;
|
|
248
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
249
|
+
display_values_supported?: string[] | undefined;
|
|
250
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
251
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
252
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
253
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
254
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
255
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
256
|
+
jwks_uri?: string | undefined;
|
|
257
|
+
authorization_endpoint: string;
|
|
258
|
+
token_endpoint: string;
|
|
259
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
260
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
261
|
+
revocation_endpoint?: string | undefined;
|
|
262
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
263
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
264
|
+
introspection_endpoint?: string | undefined;
|
|
265
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
266
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
267
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
268
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
269
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
270
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
271
|
+
userinfo_endpoint?: string | undefined;
|
|
272
|
+
end_session_endpoint?: string | undefined;
|
|
273
|
+
registration_endpoint?: string | undefined;
|
|
274
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
275
|
+
protected_resources?: string[] | undefined;
|
|
276
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
277
|
+
} & {
|
|
278
|
+
[key: string]: unknown;
|
|
279
|
+
}, {
|
|
280
|
+
issuer: string;
|
|
281
|
+
claims_supported?: string[] | undefined;
|
|
282
|
+
claims_locales_supported?: string[] | undefined;
|
|
283
|
+
claims_parameter_supported?: boolean | undefined;
|
|
284
|
+
request_parameter_supported?: boolean | undefined;
|
|
285
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
286
|
+
require_request_uri_registration?: boolean | undefined;
|
|
287
|
+
scopes_supported?: string[] | undefined;
|
|
288
|
+
subject_types_supported?: string[] | undefined;
|
|
289
|
+
response_types_supported?: string[] | undefined;
|
|
290
|
+
response_modes_supported?: string[] | undefined;
|
|
291
|
+
grant_types_supported?: string[] | undefined;
|
|
292
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
293
|
+
ui_locales_supported?: string[] | undefined;
|
|
294
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
295
|
+
display_values_supported?: string[] | undefined;
|
|
296
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
297
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
298
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
299
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
300
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
301
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
302
|
+
jwks_uri?: string | undefined;
|
|
303
|
+
authorization_endpoint: string;
|
|
304
|
+
token_endpoint: string;
|
|
305
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
306
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
307
|
+
revocation_endpoint?: string | undefined;
|
|
308
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
309
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
310
|
+
introspection_endpoint?: string | undefined;
|
|
311
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
312
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
313
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
314
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
315
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
316
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
317
|
+
userinfo_endpoint?: string | undefined;
|
|
318
|
+
end_session_endpoint?: string | undefined;
|
|
319
|
+
registration_endpoint?: string | undefined;
|
|
320
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
321
|
+
protected_resources?: string[] | undefined;
|
|
322
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
323
|
+
} & {
|
|
324
|
+
[key: string]: unknown;
|
|
325
|
+
}, v.CheckIssue<{
|
|
326
|
+
issuer: string;
|
|
327
|
+
claims_supported?: string[] | undefined;
|
|
328
|
+
claims_locales_supported?: string[] | undefined;
|
|
329
|
+
claims_parameter_supported?: boolean | undefined;
|
|
330
|
+
request_parameter_supported?: boolean | undefined;
|
|
331
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
332
|
+
require_request_uri_registration?: boolean | undefined;
|
|
333
|
+
scopes_supported?: string[] | undefined;
|
|
334
|
+
subject_types_supported?: string[] | undefined;
|
|
335
|
+
response_types_supported?: string[] | undefined;
|
|
336
|
+
response_modes_supported?: string[] | undefined;
|
|
337
|
+
grant_types_supported?: string[] | undefined;
|
|
338
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
339
|
+
ui_locales_supported?: string[] | undefined;
|
|
340
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
341
|
+
display_values_supported?: string[] | undefined;
|
|
342
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
343
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
344
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
345
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
346
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
347
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
348
|
+
jwks_uri?: string | undefined;
|
|
349
|
+
authorization_endpoint: string;
|
|
350
|
+
token_endpoint: string;
|
|
351
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
352
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
353
|
+
revocation_endpoint?: string | undefined;
|
|
354
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
355
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
356
|
+
introspection_endpoint?: string | undefined;
|
|
357
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
358
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
359
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
360
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
361
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
362
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
363
|
+
userinfo_endpoint?: string | undefined;
|
|
364
|
+
end_session_endpoint?: string | undefined;
|
|
365
|
+
registration_endpoint?: string | undefined;
|
|
366
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
367
|
+
protected_resources?: string[] | undefined;
|
|
368
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
369
|
+
} & {
|
|
370
|
+
[key: string]: unknown;
|
|
371
|
+
}>>, v.BaseValidation<{
|
|
372
|
+
issuer: string;
|
|
373
|
+
claims_supported?: string[] | undefined;
|
|
374
|
+
claims_locales_supported?: string[] | undefined;
|
|
375
|
+
claims_parameter_supported?: boolean | undefined;
|
|
376
|
+
request_parameter_supported?: boolean | undefined;
|
|
377
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
378
|
+
require_request_uri_registration?: boolean | undefined;
|
|
379
|
+
scopes_supported?: string[] | undefined;
|
|
380
|
+
subject_types_supported?: string[] | undefined;
|
|
381
|
+
response_types_supported?: string[] | undefined;
|
|
382
|
+
response_modes_supported?: string[] | undefined;
|
|
383
|
+
grant_types_supported?: string[] | undefined;
|
|
384
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
385
|
+
ui_locales_supported?: string[] | undefined;
|
|
386
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
387
|
+
display_values_supported?: string[] | undefined;
|
|
388
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
389
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
390
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
391
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
392
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
393
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
394
|
+
jwks_uri?: string | undefined;
|
|
395
|
+
authorization_endpoint: string;
|
|
396
|
+
token_endpoint: string;
|
|
397
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
398
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
399
|
+
revocation_endpoint?: string | undefined;
|
|
400
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
401
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
402
|
+
introspection_endpoint?: string | undefined;
|
|
403
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
404
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
405
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
406
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
407
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
408
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
409
|
+
userinfo_endpoint?: string | undefined;
|
|
410
|
+
end_session_endpoint?: string | undefined;
|
|
411
|
+
registration_endpoint?: string | undefined;
|
|
412
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
413
|
+
protected_resources?: string[] | undefined;
|
|
414
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
415
|
+
} & {
|
|
416
|
+
[key: string]: unknown;
|
|
417
|
+
}, {
|
|
418
|
+
issuer: string;
|
|
419
|
+
claims_supported?: string[] | undefined;
|
|
420
|
+
claims_locales_supported?: string[] | undefined;
|
|
421
|
+
claims_parameter_supported?: boolean | undefined;
|
|
422
|
+
request_parameter_supported?: boolean | undefined;
|
|
423
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
424
|
+
require_request_uri_registration?: boolean | undefined;
|
|
425
|
+
scopes_supported?: string[] | undefined;
|
|
426
|
+
subject_types_supported?: string[] | undefined;
|
|
427
|
+
response_types_supported?: string[] | undefined;
|
|
428
|
+
response_modes_supported?: string[] | undefined;
|
|
429
|
+
grant_types_supported?: string[] | undefined;
|
|
430
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
431
|
+
ui_locales_supported?: string[] | undefined;
|
|
432
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
433
|
+
display_values_supported?: string[] | undefined;
|
|
434
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
435
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
436
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
437
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
438
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
439
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
440
|
+
jwks_uri?: string | undefined;
|
|
441
|
+
authorization_endpoint: string;
|
|
442
|
+
token_endpoint: string;
|
|
443
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
444
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
445
|
+
revocation_endpoint?: string | undefined;
|
|
446
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
447
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
448
|
+
introspection_endpoint?: string | undefined;
|
|
449
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
450
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
451
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
452
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
453
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
454
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
455
|
+
userinfo_endpoint?: string | undefined;
|
|
456
|
+
end_session_endpoint?: string | undefined;
|
|
457
|
+
registration_endpoint?: string | undefined;
|
|
458
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
459
|
+
protected_resources?: string[] | undefined;
|
|
460
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
461
|
+
} & {
|
|
462
|
+
[key: string]: unknown;
|
|
463
|
+
}, v.CheckIssue<{
|
|
464
|
+
issuer: string;
|
|
465
|
+
claims_supported?: string[] | undefined;
|
|
466
|
+
claims_locales_supported?: string[] | undefined;
|
|
467
|
+
claims_parameter_supported?: boolean | undefined;
|
|
468
|
+
request_parameter_supported?: boolean | undefined;
|
|
469
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
470
|
+
require_request_uri_registration?: boolean | undefined;
|
|
471
|
+
scopes_supported?: string[] | undefined;
|
|
472
|
+
subject_types_supported?: string[] | undefined;
|
|
473
|
+
response_types_supported?: string[] | undefined;
|
|
474
|
+
response_modes_supported?: string[] | undefined;
|
|
475
|
+
grant_types_supported?: string[] | undefined;
|
|
476
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
|
477
|
+
ui_locales_supported?: string[] | undefined;
|
|
478
|
+
id_token_signing_alg_values_supported?: string[] | undefined;
|
|
479
|
+
display_values_supported?: string[] | undefined;
|
|
480
|
+
prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
|
|
481
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
482
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
483
|
+
authorization_details_types_supported?: string[] | undefined;
|
|
484
|
+
request_object_encryption_alg_values_supported?: string[] | undefined;
|
|
485
|
+
request_object_encryption_enc_values_supported?: string[] | undefined;
|
|
486
|
+
jwks_uri?: string | undefined;
|
|
487
|
+
authorization_endpoint: string;
|
|
488
|
+
token_endpoint: string;
|
|
489
|
+
token_endpoint_auth_methods_supported?: string[] | undefined;
|
|
490
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
491
|
+
revocation_endpoint?: string | undefined;
|
|
492
|
+
revocation_endpoint_auth_methods_supported?: string[] | undefined;
|
|
493
|
+
revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
494
|
+
introspection_endpoint?: string | undefined;
|
|
495
|
+
introspection_endpoint_auth_methods_supported?: string[] | undefined;
|
|
496
|
+
introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
497
|
+
pushed_authorization_request_endpoint?: string | undefined;
|
|
498
|
+
pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
|
|
499
|
+
pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
500
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
501
|
+
userinfo_endpoint?: string | undefined;
|
|
502
|
+
end_session_endpoint?: string | undefined;
|
|
503
|
+
registration_endpoint?: string | undefined;
|
|
504
|
+
dpop_signing_alg_values_supported?: string[] | undefined;
|
|
505
|
+
protected_resources?: string[] | undefined;
|
|
506
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
507
|
+
} & {
|
|
508
|
+
[key: string]: unknown;
|
|
509
|
+
}>>]>;
|
|
96
510
|
//# sourceMappingURL=oauth-authorization-server-metadata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../../lib/schemas/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../../lib/schemas/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAO7B;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA2DjD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAE5G,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAyBrD,CAAC"}
|