Struct sda_server::jfs_stores::JfsAuthTokensStore
[−]
[src]
pub struct JfsAuthTokensStore { /* fields omitted */ }
Methods
impl JfsAuthTokensStore
[src]
fn new<P: AsRef<Path>>(prefix: P) -> SdaServerResult<JfsAuthTokensStore>
Trait Implementations
impl BaseStore for JfsAuthTokensStore
[src]
fn ping(&self) -> SdaServerResult<()>
impl AuthTokensStore for JfsAuthTokensStore
[src]
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