ConfiguredClient

Type Alias ConfiguredClient 

Source
pub type ConfiguredClient = BasicClient<EndpointSet, EndpointNotSet, EndpointNotSet, EndpointNotSet, EndpointSet>;
Expand description

Type alias for a configured OAuth2 client with auth and token endpoints set

This is the standard client type used by all OAuth2 providers (Google, GitHub, OIDC). The type parameters indicate which endpoints are configured:

  • EndpointSet for HasAuthUrl - Authorization endpoint is configured
  • EndpointNotSet for HasDeviceAuthUrl - Device auth not used
  • EndpointNotSet for HasIntrospectionUrl - Token introspection not used
  • EndpointNotSet for HasRevocationUrl - Token revocation not used
  • EndpointSet for HasTokenUrl - Token exchange endpoint is configured

Aliased Typeยง

pub struct ConfiguredClient { /* private fields */ }