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
#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.
#universal_two_factor=
def universal_two_factor=(value) -> ::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor
Parameter
- value (::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor) — The U2F protocol type.
Returns
- (::Google::Cloud::OsLogin::V1beta::UniversalTwoFactor) — The U2F protocol type.
#web_authn
def web_authn() -> ::Google::Cloud::OsLogin::V1beta::WebAuthn
Returns
- (::Google::Cloud::OsLogin::V1beta::WebAuthn) — The Web Authentication protocol type.
#web_authn=
def web_authn=(value) -> ::Google::Cloud::OsLogin::V1beta::WebAuthn
Parameter
- value (::Google::Cloud::OsLogin::V1beta::WebAuthn) — The Web Authentication protocol type.
Returns
- (::Google::Cloud::OsLogin::V1beta::WebAuthn) — The Web Authentication protocol type.