pub struct RemoteJwksDecoderBuilder { /* private fields */ }Expand description
Builder for RemoteJwksDecoder.
Implementations§
Source§impl RemoteJwksDecoderBuilder
impl RemoteJwksDecoderBuilder
Sourcepub fn config(self, config: RemoteJwksDecoderConfig) -> Self
pub fn config(self, config: RemoteJwksDecoderConfig) -> Self
Sets the configuration.
Sourcepub fn keys_cache(self, keys_cache: Arc<DashMap<String, DecodingKey>>) -> Self
pub fn keys_cache(self, keys_cache: Arc<DashMap<String, DecodingKey>>) -> Self
Sets the keys cache.
Sourcepub fn validation(self, validation: Validation) -> Self
pub fn validation(self, validation: Validation) -> Self
Sets the validation settings.
Trait Implementations§
Auto 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