/** * Auth feature module. * * Provides credential storage, environment detection, token resolution, * auth middleware, and device login orchestration for authentication. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ export type { CredentialEntry, CredentialFile, StorageTier, StoredCredentials, TokenSource, } from "./schema.js"; export { CredentialEntrySchema, CredentialFileSchema, CredentialStoreTokenSource, EnvVarTokenSource, FileTokenSource, FlagTokenSource, RegistryAccountsSchema, } from "./schema.js"; export type { CredentialStoreService, EnvironmentInfo } from "./credential-store.js"; export { canUsePersistedCredentials, CredentialStore, CredentialStoreLive, CredentialStoreSessionLive, CredentialStoreTest, detectEnvironment, makePersistedCredentialsUnsupportedError, selectTier, } from "./credential-store.js"; export type { PendingDeviceLogin, PendingDeviceLoginStoreService, } from "./pending-device-login-store.js"; export { PendingDeviceLoginSchema, PendingDeviceLoginStore, PendingDeviceLoginStoreLive, PendingDeviceLoginStoreTest, } from "./pending-device-login-store.js"; export { getCurrentUserHandle, resolveRequiredToken, resolveToken, resolveStoredToken, refreshStoredToken, resolveAmbientToken, resolveRequestToken, } from "./token-resolution.js"; export { RegistryUrl } from "./registry-url.js"; export { AuthMiddlewareLive, makeAuthMiddlewareLive } from "./auth-middleware.js"; export type { AuthClientService, CreateTokenOptions, CreatePublishAuthorizationRequestParams, DeviceFlowResponse, ExchangePublishAuthorizationCodeParams, MeResponse, PollResult, PublishAuthorizationRequestResponse, PublishCapabilityResponse, StepUpRequest, } from "./auth-client.js"; export { AuthClient, AuthClientLive, AuthClientTest, pollOnce, readStepUpRequest, } from "./auth-client.js"; export type { NormalizedTokenResponse } from "./oauth-contract.js"; export type { DeviceLoginPendingResult, DeviceLoginInteractionService, DeviceLoginInteractionTestState, ResumeDeviceLoginOptions, } from "./device-login.js"; export { DeviceLoginPendingResultSchema, DeviceLoginInteraction, DeviceLoginInteractionTest, initiateDeviceLogin, resumeDeviceLogin, runDeviceLogin, type RunDeviceLoginOptions, } from "./device-login.js"; export { makeOAuthState, makePkceChallenge, makePkceVerifier, runLoopbackLogin, type RunLoopbackLoginOptions, } from "./loopback-login.js"; export { LoopbackCallbackRejected, LoopbackLoginFallback, startLoopbackServer, } from "./loopback-server.js"; export { LoginDocumentSchema, LoginResultSchema, type LoginDocument, type LoginResult, } from "./login-output.js"; export { runPublishAuthorization, type PublishAuthorizationInput, } from "./publish-authorization.js"; export { selectLoginStrategy, type LoginStrategy, type LoginStrategyEnvironment, type LoginStrategyOptions, } from "./login-strategy.js"; export type { AuthLoginInteractionService, AuthLoginInteractionTestState, } from "./login-interaction.js"; export { AuthLoginInteraction, AuthLoginInteractionLive, AuthLoginInteractionTest, } from "./login-interaction.js"; export { withAuthGuard } from "./guard.js"; //# sourceMappingURL=index.d.ts.map