Skip to content

Commit 3c4595e

Browse files
authored
🤖 Merge PR DefinitelyTyped#73069 fix[oidc-provider]: issueRegistrationAccessToken type by @JBaczuk
1 parent 0eed2e0 commit 3c4595e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎types/oidc-provider/index.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,14 +1079,14 @@ export interface Configuration {
10791079
| undefined;
10801080
idFactory?: ((ctx: KoaContextWithOIDC) => string) | undefined;
10811081
secretFactory?: ((ctx: KoaContextWithOIDC) => string) | undefined;
1082+
issueRegistrationAccessToken?: IssueRegistrationAccessTokenFunction | boolean | undefined;
10821083
}
10831084
| undefined;
10841085

10851086
registrationManagement?:
10861087
| {
10871088
enabled?: boolean | undefined;
10881089
rotateRegistrationAccessToken?: RotateRegistrationAccessTokenFunction | boolean | undefined;
1089-
issueRegistrationAccessToken?: IssueRegistrationAccessTokenFunction | boolean | undefined;
10901090
}
10911091
| undefined;
10921092

‎types/oidc-provider/oidc-provider-tests.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ const provider = new oidc.Provider("https://op.example.com", {
449449
metadata.client_id.substring(0);
450450
},
451451
},
452+
issueRegistrationAccessToken: true,
452453
idFactory() {
453454
return "foo";
454455
},

0 commit comments

Comments
 (0)