Expand description
Async OAuth client for auth_service (tokio).
Beside discovery, the code and refresh grants, introspection, revocation and registration, the client does the device
flow (RFC 8628), token exchange (RFC 8693), pushed authorization requests (RFC 9126), RP-initiated logout URLs,
private_key_jwt client authentication (RFC 7523) and DPoP (RFC 9449). Every request is sent once: a redirect is
never followed, so a credential cannot be replayed to another origin.
Structs§
- Authorization
UrlOpts - Client
- Device
Authorization Opts - Options for
Client::start_device_authorization. - Introspection
Response - Oidc
Metadata - Pushed
Authorization Opts - Options for
Client::push_authorization_request. - Token
Exchange Opts - Options for
Client::exchange_token. - Token
Opts - Token
Response - User
Info Response
Enums§
- Client
Auth Method - Match the registered token_endpoint_auth_method. Public clients use None.
- Token
Type - How a token is presented to the userinfo endpoint (and to a resource server).