reorder methods

This commit is contained in:
Konstantin Konstantinov 2025-08-12 00:29:53 +03:00
commit 60049a5b6c
No known key found for this signature in database

View file

@ -76,10 +76,6 @@ export class InspectorOAuthClientProvider implements OAuthClientProvider {
return window.location.origin + "/oauth/callback";
}
state(): string | Promise<string> {
return generateOAuthState();
}
get clientMetadata(): OAuthClientMetadata {
return {
redirect_uris: [this.redirectUrl],
@ -91,6 +87,10 @@ export class InspectorOAuthClientProvider implements OAuthClientProvider {
};
}
state(): string | Promise<string> {
return generateOAuthState();
}
async clientInformation() {
// Try to get the preregistered client information from session storage first
const preregisteredClientInformation =