GoogleApi.OSLogin.V1alpha.Model.SecurityKey (google_api_os_login v0.30.0)

View Source

The credential information for a Google registered security key.

Attributes

  • deviceNickname (type: String.t, default: nil) - The security key nickname explicitly set by the user.
  • privateKey (type: String.t, default: nil) - Hardware-backed private key text in SSH format.
  • publicKey (type: String.t, default: nil) - Public key text in SSH format, defined by RFC4253 section 6.6.
  • universalTwoFactor (type: GoogleApi.OSLogin.V1alpha.Model.UniversalTwoFactor.t, default: nil) - The U2F protocol type.
  • webAuthn (type: GoogleApi.OSLogin.V1alpha.Model.WebAuthn.t, default: nil) - The Web Authentication protocol type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.OSLogin.V1alpha.Model.SecurityKey{
  deviceNickname: String.t() | nil,
  privateKey: String.t() | nil,
  publicKey: String.t() | nil,
  universalTwoFactor:
    GoogleApi.OSLogin.V1alpha.Model.UniversalTwoFactor.t() | nil,
  webAuthn: GoogleApi.OSLogin.V1alpha.Model.WebAuthn.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.