pub trait PersonaProxyInterface: Send + Sync {
    type GetAuthStateResponseFut: Future<Output = Result<AuthTargetGetAuthStateResult, Error>> + Send;
    type RegisterAuthListenerResponseFut: Future<Output = Result<AuthTargetRegisterAuthListenerResult, Error>> + Send;
    type GetLifetimeResponseFut: Future<Output = Result<Lifetime, Error>> + Send;

    // Required methods
    fn get_auth_state(&self) -> Self::GetAuthStateResponseFut;
    fn register_auth_listener(
        &self,
        payload: AuthTargetRegisterAuthListenerRequest
    ) -> Self::RegisterAuthListenerResponseFut;
    fn get_lifetime(&self) -> Self::GetLifetimeResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§