[−][src]Trait oxide_auth::endpoint::Extension
Intermediate trait to flow specific extensions.
The existence of this 1) promotes writing of extensions so that they can be reused independent of endpoint and request types; 2) makes it possible to provide some of these in this library.
Note that all methods will by default return None
so that adding to other flows is possible
without affecting existing implementations.
Provided methods
fn authorization(&mut self) -> Option<&mut dyn AuthorizationExtension>
The handler for authorization code extensions.
fn access_token(&mut self) -> Option<&mut dyn AccessTokenExtension>
The handler for access token extensions.