1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Add variants for unknown values on mas-iana types

Remove the Copy derive and mark enums as non-exhaustive.
This commit is contained in:
Kévin Commaille
2022-09-13 18:32:56 +02:00
committed by Quentin Gliech
parent 9e3b3567b2
commit 80d317f23c
25 changed files with 414 additions and 292 deletions

View File

@ -92,7 +92,7 @@ impl Credentials {
pub async fn verify<S: StorageBackend>(
&self,
encrypter: &Encrypter,
method: OAuthClientAuthenticationMethod,
method: &OAuthClientAuthenticationMethod,
client: &Client<S>,
) -> Result<(), CredentialsVerificationError> {
match (self, method) {