pub trait OAuth2Spec:
Send
+ Sync
+ 'static {
const TOKEN_URL: &'static str;
const SCOPES: &'static [(&'static str, &'static str)];
const SCHEME: &'static str;
}Expand description
Describes one OAuth2 password-flow scheme; implement on a marker type.
Required Associated Constants§
Sourceconst TOKEN_URL: &'static str
const TOKEN_URL: &'static str
URL of the token endpoint (usually the route taking
OAuth2PasswordRequestForm).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".