fn handle_request(req: AuthProviderRequest) -> Result<(), Error> {
        match req {
            AuthProviderRequest::GetPersistentCredential { user_profile_id, responder, .. } => {
                Self::get_persistent_credential(user_profile_id, responder)
            }

            AuthProviderRequest::GetAppAccessToken { credential, client_id, responder, .. } => {
                Self::get_app_access_token(credential, client_id, responder)
            }

            AuthProviderRequest::GetAppIdToken { credential, responder, .. } => {
                Self::get_app_id_token(credential, responder)
            }

            AuthProviderRequest::GetAppFirebaseToken { firebase_api_key, responder, .. } => {
                Self::get_app_firebase_token(firebase_api_key, responder)
            }

            AuthProviderRequest::RevokeAppOrPersistentCredential { responder, .. } => {
                Self::revoke_app_or_persistent_credential(responder)
            }

            AuthProviderRequest::GetPersistentCredentialFromAttestationJwt {
                responder, ..
            } => Self::get_persistent_credential_from_attestation_jwt(responder),

            AuthProviderRequest::GetAppAccessTokenFromAssertionJwt { responder, .. } => {
                Self::get_app_access_token_from_assertion_jwt(responder)
            }
        }
    }
/// Handle single `AuthProviderRequest` by calling the corresponding method
/// according to the actual variant of the `AuthProviderRequest` enum.
Handle single `AuthProviderRequest` by calling the corresponding method
according to the actual variant of the `AuthProviderRequest` enum.
Handle single ` AuthProviderRequest ` by calling the corresponding method according to the actual variant of the ` AuthProviderRequest ` enum .
fn handle_request(req: AuthProviderRequest) -> Result<(), Error> {
        match req {
            AuthProviderRequest::GetPersistentCredential { user_profile_id, responder, .. } => {
                Self::get_persistent_credential(user_profile_id, responder)
            }
            AuthProviderRequest::GetAppAccessToken { credential, client_id, responder, .. } => {
                Self::get_app_access_token(credential, client_id, responder)
            }
            AuthProviderRequest::GetAppIdToken { credential, responder, .. } => {
                Self::get_app_id_token(credential, responder)
            }
            AuthProviderRequest::GetAppFirebaseToken { firebase_api_key, responder, .. } => {
                Self::get_app_firebase_token(firebase_api_key, responder)
            }
            AuthProviderRequest::RevokeAppOrPersistentCredential { responder, .. } => {
                Self::revoke_app_or_persistent_credential(responder)
            }
            AuthProviderRequest::GetPersistentCredentialFromAttestationJwt {
                responder, ..
            } => Self::get_persistent_credential_from_attestation_jwt(responder),
            AuthProviderRequest::GetAppAccessTokenFromAssertionJwt { responder, .. } => {
                Self::get_app_access_token_from_assertion_jwt(responder)
            }
        }
    }
fn handle_request ( req : AuthProviderRequest ) -> Result < ( ) , Error > { match req { AuthProviderRequest :: GetPersistentCredential { user_profile_id , responder , .. } => { Self :: get_persistent_credential ( user_profile_id , responder ) } AuthProviderRequest :: GetAppAccessToken { credential , client_id , responder , .. } => { Self :: get_app_access_token ( credential , client_id , responder ) } AuthProviderRequest :: GetAppIdToken { credential , responder , .. } => { Self :: get_app_id_token ( credential , responder ) } AuthProviderRequest :: GetAppFirebaseToken { firebase_api_key , responder , .. } => { Self :: get_app_firebase_token ( firebase_api_key , responder ) } AuthProviderRequest :: RevokeAppOrPersistentCredential { responder , .. } => { Self :: revoke_app_or_persistent_credential ( responder ) } AuthProviderRequest :: GetPersistentCredentialFromAttestationJwt { responder , .. } => Self :: get_persistent_credential_from_attestation_jwt ( responder ) , AuthProviderRequest :: GetAppAccessTokenFromAssertionJwt { responder , .. } => { Self :: get_app_access_token_from_assertion_jwt ( responder ) } } }
Handle single `AuthProviderRequest` by calling the corresponding method
according to the actual variant of the `AuthProviderRequest` enum.
Handle single ` AuthProviderRequest ` by calling the corresponding method according to the actual variant of the ` AuthProviderRequest ` enum .
req
AuthProviderRequest