You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`server`|[`ServerMetadata`](../interfaces/ServerMetadata.md)| Authorization Server Metadata |
61
61
|`clientId`|`string`| Client Identifier at the Authorization Server |
62
-
|`metadata`?|`string`\|[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`ClientMetadata`](../interfaces/ClientMetadata.md)\>| Client Metadata, when a string is passed it is a shorthand for passing just [ClientMetadata.client\_secret](../interfaces/ClientMetadata.md#client_secret). |
63
-
|`clientAuthentication`?|[`ClientAuth`](../type-aliases/ClientAuth.md)| Implementation of the Client's Authentication Method at the Authorization Server. Default is [ClientSecretPost](../functions/ClientSecretPost.md) using the [ClientMetadata.client\_secret](../interfaces/ClientMetadata.md#client_secret). |
62
+
|`metadata?`|`string`\|[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`ClientMetadata`](../interfaces/ClientMetadata.md)\>| Client Metadata, when a string is passed it is a shorthand for passing just [ClientMetadata.client\_secret](../interfaces/ClientMetadata.md#client_secret). |
63
+
|`clientAuthentication?`|[`ClientAuth`](../type-aliases/ClientAuth.md)| Implementation of the Client's Authentication Method at the Authorization Server. Default is [ClientSecretPost](../functions/ClientSecretPost.md) using the [ClientMetadata.client\_secret](../interfaces/ClientMetadata.md#client_secret). |
The "OAuth-style" error [Response](https://developer.mozilla.org/docs/Web/API/Response), its [Response.bodyUsed](https://developer.mozilla.org/docs/Web/API/Response/bodyUsed) is `true` and the JSON
65
-
body is available in [ResponseBodyError.cause](ResponseBodyError.md#cause)
65
+
body is available in [ResponseBodyError.cause](#cause)
|`currentUrl`|[`URL`](https://developer.mozilla.org/docs/Web/API/URL)\|[`Request`](https://developer.mozilla.org/docs/Web/API/Request)| Current [URL](https://developer.mozilla.org/docs/Web/API/URL) the Authorization Server provided an Authorization Response to or a [Request](https://developer.mozilla.org/docs/Web/API/Request), the [Authorization Code Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.1) parameters are extracted from this. |
26
-
|`checks`?|[`AuthorizationCodeGrantChecks`](../interfaces/AuthorizationCodeGrantChecks.md)| CSRF Protection checks like PKCE, expected state, or expected nonce |
27
-
|`tokenEndpointParameters`?|[`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, `string`\>\|[`URLSearchParams`](https://developer.mozilla.org/docs/Web/API/URLSearchParams)| Additional parameters that will be sent to the token endpoint, typically used for parameters such as `resource` ([Resource Indicator](https://www.rfc-editor.org/rfc/rfc8707)) in cases where multiple resource indicators were requested but the authorization server only supports issuing an access token with a single audience |
|`checks?`|[`AuthorizationCodeGrantChecks`](../interfaces/AuthorizationCodeGrantChecks.md)| CSRF Protection checks like PKCE, expected state, or expected nonce |
27
+
|`tokenEndpointParameters?`|[`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, `string`\>\|[`URLSearchParams`](https://developer.mozilla.org/docs/Web/API/URLSearchParams)| Additional parameters that will be sent to the token endpoint, typically used for parameters such as `resource` ([Resource Indicator](https://www.rfc-editor.org/rfc/rfc8707)) in cases where multiple resource indicators were requested but the authorization server only supports issuing an access token with a single audience |
|`parameters`|[`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, `string`\>\|[`URLSearchParams`](https://developer.mozilla.org/docs/Web/API/URLSearchParams)| Authorization request parameters that will be encoded in a [JAR](https://www.rfc-editor.org/rfc/rfc9101.html) Request Object |
25
25
|`signingKey`|[`CryptoKey`](https://developer.mozilla.org/docs/Web/API/CryptoKey)\|[`PrivateKey`](../interfaces/PrivateKey.md)| Key to sign the JAR Request Object with. |
0 commit comments