Skip to content

Commit

Permalink
feat: return extra token params
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Nov 9, 2024
1 parent f5a4cb7 commit 052046b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/oauth2/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ export { Oauth2ClientErrorResponseError } from './error/Oauth2ClientErrorRespons
export { Oauth2ClientAuthorizationChallengeError } from './error/Oauth2ClientAuthorizationChallengeError'
export { Oauth2ServerErrorResponseError } from './error/Oauth2ServerErrorResponseError'

export type {
AuthorizationChallengeRequest,
AuthorizationChallengeErrorResponse,
AuthorizationChallengeResponse,
} from './authorization-challenge/v-authorization-challenge'
export {
AuthorizationServerMetadata,
// Ideally we don't export this, but it's needed in oid4vci
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,7 @@ export async function verifyResourceRequest(options: VerifyResourceRequestOption
return {
tokenPayload,
dpopJwk,
scheme,
accessToken,
}
}

0 comments on commit 052046b

Please sign in to comment.