Skip to main content

Module oauth

Module oauth 

Source

Re-exports§

pub use digest::Digest;
pub use digest::DigestError;
pub use grant_type::GrantTypeName;
pub use scopes::EXERCISE_SERVICES_SCOPE;
pub use scopes::OFFLINE_ACCESS_SCOPE;
pub use tokens::generate_access_token;
pub use tokens::generate_user_code;
pub use tokens::token_digest_sha256;

Modules§

bearer
Authorization: Bearer access tokens presented to this server’s own resource APIs.
digest
grant_type
mcp
OAuth scopes and access-token validation for the MCP server at /api/v0/mcp.
pkce
pkce.rs — PKCE types for database serialization
scopes
The OAuth scopes this provider knows.
tokens

Functions§

is_bound_to
Whether a token bound to audience (RFC 8707) may be used at resource.