Closed thor314 closed 7 months ago
There are no examples for oxide-auth-axum (:shrug:) but it would appear that OAuthResource is a dead type.
oxide-auth-axum
OAuthResource
It may be constructed, but not used.
Suggested improvement: I am submitting a follow-up PR implementing:
impl OAuthResource { /// Fetch the authorization header from the request pub fn authorization_header(&self) -> Option<&str> { self.auth.as_deref() } }
which will allow OAuthResource to be used to guard resources.
There are no examples for
oxide-auth-axum
(:shrug:) but it would appear thatOAuthResource
is a dead type.It may be constructed, but not used.
Suggested improvement: I am submitting a follow-up PR implementing:
which will allow
OAuthResource
to be used to guard resources.