Cloud OS Login V1beta API - Class Google::Cloud::OsLogin::V1beta::SecurityKey (v0.19.0)

Reference documentation and code samples for the Cloud OS Login V1beta API class Google::Cloud::OsLogin::V1beta::SecurityKey.

The credential information for a Google registered security key.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#device_nickname

def device_nickname() -> ::String
Returns
  • (::String) — The security key nickname explicitly set by the user.

#device_nickname=

def device_nickname=(value) -> ::String
Parameter
  • value (::String) — The security key nickname explicitly set by the user.
Returns
  • (::String) — The security key nickname explicitly set by the user.

#private_key

def private_key() -> ::String
Returns
  • (::String) — Hardware-backed private key text in SSH format.

#private_key=

def private_key=(value) -> ::String
Parameter
  • value (::String) — Hardware-backed private key text in SSH format.
Returns
  • (::String) — Hardware-backed private key text in SSH format.

#public_key

def public_key() -> ::String
Returns
  • (::String) — Public key text in SSH format, defined by RFC4253 section 6.6.

#public_key=

def public_key=(value) -> ::String
Parameter
  • value (::String) — Public key text in SSH format, defined by RFC4253 section 6.6.
Returns
  • (::String) — Public key text in SSH format, defined by RFC4253 section 6.6.

#universal_two_factor

def universal_two_factor() -> ::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor
Returns
  • (::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor) — The U2F protocol type.

    Note: The following fields are mutually exclusive: universal_two_factor, web_authn. If a field in that set is populated, all other fields in the set will automatically be cleared.

#universal_two_factor=

def universal_two_factor=(value) -> ::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor
Parameter
  • value (::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor) — The U2F protocol type.

    Note: The following fields are mutually exclusive: universal_two_factor, web_authn. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor) — The U2F protocol type.

    Note: The following fields are mutually exclusive: universal_two_factor, web_authn. If a field in that set is populated, all other fields in the set will automatically be cleared.

#web_authn

def web_authn() -> ::Google::Cloud::OsLogin::V1beta::WebAuthn
Returns
  • (::Google::Cloud::OsLogin::V1beta::WebAuthn) — The Web Authentication protocol type.

    Note: The following fields are mutually exclusive: web_authn, universal_two_factor. If a field in that set is populated, all other fields in the set will automatically be cleared.

#web_authn=

def web_authn=(value) -> ::Google::Cloud::OsLogin::V1beta::WebAuthn
Parameter
  • value (::Google::Cloud::OsLogin::V1beta::WebAuthn) — The Web Authentication protocol type.

    Note: The following fields are mutually exclusive: web_authn, universal_two_factor. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::OsLogin::V1beta::WebAuthn) — The Web Authentication protocol type.

    Note: The following fields are mutually exclusive: web_authn, universal_two_factor. If a field in that set is populated, all other fields in the set will automatically be cleared.