[][src]Module oxide_auth::primitives::issuer

Generates bearer tokens and refresh tokens.

Internally similar to the authorization module, tokens generated here live longer and can be renewed. There exist two fundamental implementation as well, one utilizing in memory hash maps while the other uses cryptographic signing.

Structs

IssuedToken

Token parameters returned to a client.

TokenMap

Keeps track of access and refresh tokens by a hash-map.

TokenSigner

Signs grants instead of storing them.

Traits

Issuer

Issuers create bearer tokens.