Skip to content

Commit d4ee992

Browse files
committed
chore: format
1 parent 68e9364 commit d4ee992

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

src/index.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -786,17 +786,16 @@ export interface AuthorizationServer {
786786
readonly [metadata: string]: JsonValue | undefined
787787
}
788788

789-
export interface MTLSEndpointAliases
790-
extends Pick<
791-
AuthorizationServer,
792-
| 'backchannel_authentication_endpoint'
793-
| 'device_authorization_endpoint'
794-
| 'introspection_endpoint'
795-
| 'pushed_authorization_request_endpoint'
796-
| 'revocation_endpoint'
797-
| 'token_endpoint'
798-
| 'userinfo_endpoint'
799-
> {
789+
export interface MTLSEndpointAliases extends Pick<
790+
AuthorizationServer,
791+
| 'backchannel_authentication_endpoint'
792+
| 'device_authorization_endpoint'
793+
| 'introspection_endpoint'
794+
| 'pushed_authorization_request_endpoint'
795+
| 'revocation_endpoint'
796+
| 'token_endpoint'
797+
| 'userinfo_endpoint'
798+
> {
800799
readonly [metadata: string]: string | undefined
801800
}
802801

@@ -1570,8 +1569,7 @@ export interface DPoPRequestOptions {
15701569
}
15711570

15721571
export interface PushedAuthorizationRequestOptions
1573-
extends HttpRequestOptions<'POST', URLSearchParams>,
1574-
DPoPRequestOptions {}
1572+
extends HttpRequestOptions<'POST', URLSearchParams>, DPoPRequestOptions {}
15751573

15761574
/**
15771575
* Determines an RSASSA-PSS algorithm identifier from CryptoKey instance properties.
@@ -2809,7 +2807,8 @@ export type ProtectedResourceRequestBody =
28092807
| URLSearchParams
28102808

28112809
export interface ProtectedResourceRequestOptions
2812-
extends Omit<HttpRequestOptions<string, ProtectedResourceRequestBody>, 'headers'>,
2810+
extends
2811+
Omit<HttpRequestOptions<string, ProtectedResourceRequestBody>, 'headers'>,
28132812
DPoPRequestOptions {}
28142813

28152814
async function parseOAuthResponseErrorBody(response: Response): Promise<OAuth2Error | undefined> {
@@ -3377,8 +3376,7 @@ async function authenticatedRequest(
33773376
}
33783377

33793378
export interface TokenEndpointRequestOptions
3380-
extends HttpRequestOptions<'POST', URLSearchParams>,
3381-
DPoPRequestOptions {
3379+
extends HttpRequestOptions<'POST', URLSearchParams>, DPoPRequestOptions {
33823380
/**
33833381
* Any additional parameters to send. This cannot override existing parameter values.
33843382
*/
@@ -4309,8 +4307,7 @@ function checkJwtType(expected: string, result: Awaited<ReturnType<typeof valida
43094307
}
43104308

43114309
export interface ClientCredentialsGrantRequestOptions
4312-
extends HttpRequestOptions<'POST', URLSearchParams>,
4313-
DPoPRequestOptions {}
4310+
extends HttpRequestOptions<'POST', URLSearchParams>, DPoPRequestOptions {}
43144311

43154312
/**
43164313
* Performs a Client Credentials Grant request at the
@@ -5660,8 +5657,10 @@ async function importJwk(alg: string, jwk: JWK) {
56605657
return crypto.subtle.importKey('jwk', key, algToSubtle(alg), true, ['verify'])
56615658
}
56625659

5663-
export interface DeviceAuthorizationRequestOptions
5664-
extends HttpRequestOptions<'POST', URLSearchParams> {}
5660+
export interface DeviceAuthorizationRequestOptions extends HttpRequestOptions<
5661+
'POST',
5662+
URLSearchParams
5663+
> {}
56655664

56665665
/**
56675666
* Performs a Device Authorization Request at the
@@ -6234,8 +6233,10 @@ function reassignRSCode(err: unknown): never {
62346233
throw err
62356234
}
62366235

6237-
export interface BackchannelAuthenticationRequestOptions
6238-
extends HttpRequestOptions<'POST', URLSearchParams> {}
6236+
export interface BackchannelAuthenticationRequestOptions extends HttpRequestOptions<
6237+
'POST',
6238+
URLSearchParams
6239+
> {}
62396240

62406241
/**
62416242
* Performs a Backchannel Authentication Request at the
@@ -6433,8 +6434,7 @@ export type OmitSymbolProperties<T> = {
64336434
}
64346435

64356436
export interface DynamicClientRegistrationRequestOptions
6436-
extends HttpRequestOptions<'POST', string>,
6437-
DPoPRequestOptions {
6437+
extends HttpRequestOptions<'POST', string>, DPoPRequestOptions {
64386438
/**
64396439
* Access token optionally issued by an authorization server used to authorize calls to the client
64406440
* registration endpoint.

0 commit comments

Comments
 (0)