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
fn upsert_auth_token(&self, token: &AuthToken) -> SdaServerResult<()>
Save an auth token
fn get_auth_token(&self, id: &AgentId) -> SdaServerResult<Option<AuthToken>>
Retrieve an auth token
fn delete_auth_token(&self, id: &AgentId) -> SdaServerResult<()>
Delete an auth token
Implementors
impl AuthTokensStore for JfsAuthTokensStore