Adds enterprise-managed authorization (EMA): browser-side IdP login + RFC 8693 token-exchange and JWT-bearer resource-token mint, per-server EMA opt-in in Server Settings, IdP config in Client Settings, and IdP clientSecret keychain storage. Includes the v2/main merge and review follow-ups (400 on malformed client config; normalizeIdpIssuer import consolidation).
This commit is contained in:
parent
5ee347571f
commit
5de4e911e3
1 changed files with 7585 additions and 595 deletions
|
|
@ -1,16 +1,28 @@
|
|||
// Types
|
||||
export type {
|
||||
OAuthStep,
|
||||
OAuthAuthType,
|
||||
AuthExecution,
|
||||
AuthProtocol,
|
||||
MessageType,
|
||||
StatusMessage,
|
||||
AuthGuidedState,
|
||||
OAuthFlowState,
|
||||
OAuthConnectionState,
|
||||
CallbackParams,
|
||||
} from "./types.js";
|
||||
export { EMPTY_GUIDED_STATE } from "./types.js";
|
||||
export {
|
||||
EMPTY_OAUTH_FLOW_STATE,
|
||||
authProtocolFromEnterpriseManaged,
|
||||
} from "./types.js";
|
||||
|
||||
export {
|
||||
buildOAuthConnectionState,
|
||||
isServerOAuthConfigured,
|
||||
protocolFromOAuthConfig,
|
||||
} from "./connection-state.js";
|
||||
export type { BuildOAuthConnectionStateParams } from "./connection-state.js";
|
||||
|
||||
// Storage
|
||||
export type { OAuthStorage } from "./storage.js";
|
||||
export type { OAuthStorage, IdpSessionState } from "./storage.js";
|
||||
export { getServerSpecificKey, OAUTH_STORAGE_KEYS } from "./storage.js";
|
||||
|
||||
// Providers
|
||||
|
|
@ -29,13 +41,14 @@ export {
|
|||
|
||||
// Utilities
|
||||
export {
|
||||
parseHttpUrl,
|
||||
parseOAuthCallbackParams,
|
||||
generateOAuthState,
|
||||
generateOAuthStateWithExecution,
|
||||
generateOAuthStateWithMode,
|
||||
parseOAuthState,
|
||||
generateOAuthErrorDescription,
|
||||
} from "./utils.js";
|
||||
export type { OAuthStateMode } from "./utils.js";
|
||||
|
||||
// Discovery
|
||||
export { discoverScopes } from "./discovery.js";
|
||||
|
|
|
|||
Loading…
Reference in a new issue