Zum Hauptinhalt springen

DeviceAuthenticationRequestData

Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication

Represents a device authentication response

public class DeviceAuthenticationRequestData

Inheritance Object → DeviceAuthenticationRequestData

Properties​

ExpiresAt​

Gets the estimated date time of life cycle end of the "device_code" and "user_code".

public Nullable<DateTime> ExpiresAt { get; set; }

Property Value​

Nullable<DateTime>

VerificationUriComplete​

Gets the verification URI that includes the "user_code" (or other information with the same function as the "user_code"), designed for non-textual transmission.

public string VerificationUriComplete { get; set; }

Property Value​

String

VerificationUri​

Gets the end-user verification URI on the authorization server.The URI should be short and easy to remember as end users will be asked to manually type it into their user-agent.

public string VerificationUri { get; set; }

Property Value​

String

DeviceCode​

Gets the device verification code.

public string DeviceCode { get; set; }

Property Value​

String

UserCode​

Gets the end-user verification code.

public string UserCode { get; set; }

Property Value​

String

PollingInterval​

Gets the minimum amount of time in seconds that the client SHOULD wait between polling requests to the token endpoint. If no value is provided, clients MUST use 5 as the default.

public int PollingInterval { get; set; }

Property Value​

Int32

Constructors​

DeviceAuthenticationRequestData()​

public DeviceAuthenticationRequestData()