Crate corevpn_auth

Crate corevpn_auth 

Source
Expand description

CoreVPN Authentication System

Provides OAuth2/OIDC authentication with support for:

  • Google Workspace
  • Microsoft Entra ID (Azure AD)
  • Okta
  • Generic OIDC providers

Re-exports§

pub use error::AuthError;
pub use error::Result;
pub use provider::OAuthProvider;
pub use provider::ProviderConfig;
pub use provider::ProviderType;
pub use flow::AuthFlow;
pub use flow::AuthState;
pub use flow::DeviceAuthFlow;
pub use token::TokenSet;
pub use token::TokenValidator;
pub use token::UserInfo;
pub use session::AuthSession;
pub use session::AuthSessionManager;

Modules§

error
Authentication error types
flow
OAuth2 Authentication Flows
provider
OAuth2/OIDC Provider Configuration
session
Authentication Session Management
token
Token Management and Validation

Enums§

KnownProvider
Supported OAuth2 providers with pre-configured settings