AshAuthentication. Oauth2Server. RefreshTokenResource
(ash_authentication_oauth2_server v0.1.0)
Copy Markdown
View Source
Marker extension for an OAuth 2.1 refresh-token resource.
Registers AshAuthentication.Oauth2Server.RefreshTokenResource.Verifier,
which checks at compile time that the resource conforms to the contract
the Token core depends on for race-safe rotation.
Add to your refresh-token resource:
use Ash.Resource,
extensions: [AshAuthentication.Oauth2Server.RefreshTokenResource],
...