Struct oxide_auth::primitives::registrar::ClientMap [−][src]
pub struct ClientMap { /* fields omitted */ }Expand description
A very simple, in-memory hash map of client ids to Client entries.
Implementations
Insert or update the client record.
Change how passwords are encoded while stored.
Trait Implementations
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Creates a value from an iterator. Read more
fn negotiate(
&self,
bound: BoundClient<'_>,
_scope: Option<Scope>
) -> Result<PreGrant, RegistrarError>
fn negotiate(
&self,
bound: BoundClient<'_>,
_scope: Option<Scope>
) -> Result<PreGrant, RegistrarError>
Always overrides the scope with a default scope.
Determine the allowed scope and redirection url for the client. The registrar may override the scope entirely or simply substitute a default scope in case none is given. Redirection urls should be matched verbatim, not partially. Read more