Trait sda_server::stores::AuthTokensStore [] [src]

pub trait AuthTokensStore: BaseStore {
    fn upsert_auth_token(&self, token: &AuthToken) -> SdaServerResult<()>;
    fn get_auth_token(&self, id: &AgentId) -> SdaServerResult<Option<AuthToken>>;
    fn delete_auth_token(&self, id: &AgentId) -> SdaServerResult<()>;
}

Required Methods

Save an auth token

Retrieve an auth token

Delete an auth token

Implementors