pub struct RemoteJwksDecoderBuilder { /* private fields */ }Expand description
Builder for RemoteJwksDecoder.
Implementations§
Source§impl RemoteJwksDecoderBuilder
impl RemoteJwksDecoderBuilder
pub fn jwks_url(&mut self, value: String) -> &mut Self
pub fn config(&mut self, value: RemoteJwksDecoderConfig) -> &mut Self
pub fn keys_cache( &mut self, value: Arc<DashMap<String, DecodingKey>>, ) -> &mut Self
pub fn validation(&mut self, value: Validation) -> &mut Self
pub fn client(&mut self, value: Client) -> &mut Self
Sourcepub fn build(&self) -> Result<RemoteJwksDecoder, RemoteJwksDecoderBuilderError>
pub fn build(&self) -> Result<RemoteJwksDecoder, RemoteJwksDecoderBuilderError>
Trait Implementations§
Source§impl Clone for RemoteJwksDecoderBuilder
impl Clone for RemoteJwksDecoderBuilder
Source§fn clone(&self) -> RemoteJwksDecoderBuilder
fn clone(&self) -> RemoteJwksDecoderBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RemoteJwksDecoderBuilder
impl !RefUnwindSafe for RemoteJwksDecoderBuilder
impl Send for RemoteJwksDecoderBuilder
impl Sync for RemoteJwksDecoderBuilder
impl Unpin for RemoteJwksDecoderBuilder
impl !UnwindSafe for RemoteJwksDecoderBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more