Skip to main content

Module bearer

Module bearer 

Source
Expand description

How a client authenticates to an HTTP server.

The transports ask this port for a token and tell it when the server refuses one. They know nothing of OAuth: an authorizer that runs the whole flow implements it (application::oauth::authorizer), and so does a deployment that holds a static key.

Structs§

BearerError
A server refused authentication and the client could not recover.

Traits§

BearerAuth
A token to send, and a way to get another.