Struct steam_mobile::MobileAuthFile [−][src]
Expand description
The MobileAuthFile (.maFile) is the standard file format that custom authenticators use to save auth secrets to disk.
It follows strictly the JSON format. Both identity_secret and shared_secret should be base64 encoded. If you don’t know if they are, they probably already are.
Example:
{
identity_secret: "secret"
shared_secret: "secret"
device_id: "android:xxxxxxxxxxxxxxx"
}Fields
account_name: Option<String>Account name where this maFile was originated.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MobileAuthFile
impl Send for MobileAuthFile
impl Sync for MobileAuthFile
impl Unpin for MobileAuthFile
impl UnwindSafe for MobileAuthFile
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more