feat: url based client metadata registration (SEP 991) (#1127)
This commit is contained in:
parent
61db19537b
commit
7fca1f2b15
1 changed files with 383 additions and 25 deletions
|
|
@ -13,7 +13,8 @@ export class InMemoryOAuthClientProvider implements OAuthClientProvider {
|
|||
constructor(
|
||||
private readonly _redirectUrl: string | URL,
|
||||
private readonly _clientMetadata: OAuthClientMetadata,
|
||||
onRedirect?: (url: URL) => void
|
||||
onRedirect?: (url: URL) => void,
|
||||
public readonly clientMetadataUrl?: string
|
||||
) {
|
||||
this._onRedirect =
|
||||
onRedirect ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue