DeviceCode¶
Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.
One sign-in in progress: what to show the person and what to poll with.
Constructors¶
DeviceCode(string, string, Uri, TimeSpan, TimeSpan)¶
public DeviceCode(string Device, string UserCode, Uri VerificationUri, TimeSpan ExpiresIn, TimeSpan Interval);
Parameters
Device(string) - GitHub's device code (secret; never shown).UserCode(string) - The short code the person types on GitHub.VerificationUri(Uri) - Where the person types it.ExpiresIn(TimeSpan) - How long the code lives.Interval(TimeSpan) - How often GitHub allows a poll.
Properties¶
Device¶
GitHub's device code (secret; never shown).
ExpiresIn¶
How long the code lives.
Interval¶
How often GitHub allows a poll.
UserCode¶
The short code the person types on GitHub.
VerificationUri¶
Where the person types it.