Show / Hide Table of Contents

Class DeviceCredential

A server-stored device credential used for authentication.

Inheritance
object
DeviceCredential
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudIot.v1.Data
Assembly: Google.Apis.CloudIot.v1.dll
Syntax
public class DeviceCredential : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExpirationTime

[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.

Declaration
[JsonProperty("expirationTime")]
public virtual object ExpirationTime { get; set; }
Property Value
Type Description
object

PublicKey

A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.

Declaration
[JsonProperty("publicKey")]
public virtual PublicKeyCredential PublicKey { get; set; }
Property Value
Type Description
PublicKeyCredential

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX