release: WRNexusJS 0.4.0
This commit is contained in:
@@ -241,3 +241,11 @@ export async function fetchProfile(
|
||||
if (!res.ok) throw new Error(`${provider.name} userinfo failed (${res.status})`);
|
||||
return provider.mapProfile((await res.json()) as Record<string, unknown>);
|
||||
}
|
||||
export {
|
||||
memoryOAuthStateStore,
|
||||
createOAuthState,
|
||||
refreshOAuthTokens,
|
||||
discoverOidc,
|
||||
validateOAuthReturnTo,
|
||||
} from "./advanced.ts";
|
||||
export type { OAuthStateRecord, OAuthStateStore, OidcDiscovery } from "./advanced.ts";
|
||||
|
||||
Reference in New Issue
Block a user