Struct ethcore_signer::tests::GuardedAuthCodes [] [src]

pub struct GuardedAuthCodes {
    pub path: RandomTempPath,
    // some fields omitted
}

Struct representing authcodes

Fields

The path to the mock authcodes

Methods from Deref<Target=AuthCodes>

Writes all AuthCodes to a disk.

Checks if given hash is correct authcode of SignerUI Updates this hash last used field in case it's valid.

Generates and returns a new code that can be used by SignerUIs

Returns true if there are no tokens in this store

Removes old tokens that have not been used since creation.

Trait Implementations

impl Deref for GuardedAuthCodes
[src]

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for GuardedAuthCodes
[src]

The method called to mutably dereference a value