Struct oxide_auth::endpoint::ResourceFlow [−][src]
pub struct ResourceFlow<E, R> where
E: Endpoint<R>,
R: WebRequest, { /* fields omitted */ }Expand description
Guards resources by requiring OAuth authorization.
Implementations
Check that the endpoint supports the necessary operations for handling requests.
Binds the endpoint to a particular type of request that it supports, for many implementations this is probably single type anyways.
Panics
Indirectly execute may panic when this flow is instantiated with an inconsistent
endpoint, for details see the documentation of Endpoint and execute. For
consistent endpoints, the panic is instead caught as an error here.