public sealed class SecurityKey : IMessage<SecurityKey>, IEquatable<SecurityKey>, IDeepCloneable<SecurityKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Login v1beta API class SecurityKey.
The credential information for a Google registered security key.
Implements
IMessageSecurityKey, IEquatableSecurityKey, IDeepCloneableSecurityKey, IBufferMessage, IMessageNamespace
Google.Cloud.OsLogin.V1BetaAssembly
Google.Cloud.OsLogin.V1Beta.dll
Constructors
SecurityKey()
public SecurityKey()
SecurityKey(SecurityKey)
public SecurityKey(SecurityKey other)
Parameter | |
---|---|
Name | Description |
other |
SecurityKey |
Properties
DeviceNickname
public string DeviceNickname { get; set; }
The security key nickname explicitly set by the user.
Property Value | |
---|---|
Type | Description |
string |
HasDeviceNickname
public bool HasDeviceNickname { get; }
Gets whether the "device_nickname" field is set
Property Value | |
---|---|
Type | Description |
bool |
PrivateKey
public string PrivateKey { get; set; }
Hardware-backed private key text in SSH format.
Property Value | |
---|---|
Type | Description |
string |
ProtocolTypeCase
public SecurityKey.ProtocolTypeOneofCase ProtocolTypeCase { get; }
Property Value | |
---|---|
Type | Description |
SecurityKeyProtocolTypeOneofCase |
PublicKey
public string PublicKey { get; set; }
Public key text in SSH format, defined by RFC4253 section 6.6.
Property Value | |
---|---|
Type | Description |
string |
UniversalTwoFactor
public UniversalTwoFactor UniversalTwoFactor { get; set; }
The U2F protocol type.
Property Value | |
---|---|
Type | Description |
UniversalTwoFactor |
WebAuthn
public WebAuthn WebAuthn { get; set; }
The Web Authentication protocol type.
Property Value | |
---|---|
Type | Description |
WebAuthn |