(local_key: DecodingKey, local_issuer: Box<str>)
| 122 | pub type DefaultValidator = FullTokenValidator<CachingOidcTokenValidator>; |
| 123 | |
| 124 | pub fn new_validator(local_key: DecodingKey, local_issuer: Box<str>) -> FullTokenValidator<CachingOidcTokenValidator> { |
| 125 | FullTokenValidator { |
| 126 | local_key, |
| 127 | local_issuer, |
| 128 | oidc_validator: CachingOidcTokenValidator::get_default(), |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | // This verifies against a given public key and expected issuer. |
| 133 | // The issuer should only be None if we are checking with a local key. |
no outgoing calls
no test coverage detected
searching dependent graphs…