Module resources

Source
Expand description

OAuth resource discovery and validation for AT Protocol Personal Data Servers.

This module provides functionality to discover and validate OAuth 2.0 configuration from AT Protocol Personal Data Servers (PDS) using RFC 8414 well-known endpoints with AT Protocol specific requirements and validations.

Structs§

AuthorizationServer
OAuth 2.0 authorization server metadata from RFC 8414 oauth-authorization-server endpoint.
OAuthProtectedResource
OAuth 2.0 protected resource metadata from RFC 8414 oauth-protected-resource endpoint.

Functions§

oauth_authorization_server
Fetches and validates authorization server metadata from a PDS’s well-known endpoint.
oauth_protected_resource
Fetches and validates protected resource metadata from a PDS’s well-known endpoint.
pds_resources
Retrieves and validates OAuth configuration from a Personal Data Server (PDS).