[−][src]Module oxide_auth::code_grant::resource
Provides the handling for Resource Requests.
Structs
| AccessFailure | Gives additional information about the reason for an access failure. |
| Authenticate | Additional information provided for the WWW-Authenticate header. |
Enums
| Error | An error signalling the resource access was not permitted. |
| ErrorCode | Indicates the reason for access failure. |
Traits
| Endpoint | Required functionality to respond to resource requests. |
| Request | Required request methods for deciding on the rights to access a protected resource. |
Functions
| protect | The result will indicate whether the resource access should be allowed or not. |