pub trait OAuthFormClient {
// Required method
fn post_form(
&self,
url: &str,
form: &[(&str, &str)],
) -> Result<(u16, String)>;
// Provided methods
fn chatgpt_jwks(&self, issuer: &str) -> Result<ChatgptKeys> { ... }
fn revocation_endpoint(
&self,
params: &OAuthProviderParams<'_>,
issuer: &str,
) -> Result<String> { ... }
}Required Methods§
Provided Methods§
fn chatgpt_jwks(&self, issuer: &str) -> Result<ChatgptKeys>
fn revocation_endpoint( &self, params: &OAuthProviderParams<'_>, issuer: &str, ) -> Result<String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".