Class EndPointInfo
Properties describing a device OAuth endpoint
Inherited Members
Namespace: DeviceOAuth2
Assembly: DeviceOAuth2.dll
Syntax
public sealed class EndPointInfo
Properties
| Improve this Doc View SourceAuthUri
The base Uri for the endpoint
Declaration
public string AuthUri { get; set; }
Property Value
Type | Description |
---|---|
String |
DeviceCodeName
The name of the parameter that describes the code
Declaration
public string DeviceCodeName { get; set; }
Property Value
Type | Description |
---|---|
String |
DevicePath
The uri path to request a device code - relative to AuthUri
Declaration
public string DevicePath { get; set; }
Property Value
Type | Description |
---|---|
String |
Description of Facebook's oauth2 endpoint. https://developers.facebook.com/docs/facebook-login/for-devices
Declaration
public static EndPointInfo Facebook { get; }
Property Value
Type | Description |
---|---|
EndPointInfo |
Description of Google's device oauth2 endpoint. https://developers.google.com/identity/protocols/OAuth2ForDevices
Declaration
public static EndPointInfo Google { get; }
Property Value
Type | Description |
---|---|
EndPointInfo |
Name
The name of the endpoint
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
PendingStatusCode
HttpStatusCode returned by the auth endpoint while the auth process is still pending (i.e. still waiting for user confimration)
Declaration
public HttpStatusCode PendingStatusCode { get; set; }
Property Value
Type | Description |
---|---|
HttpStatusCode |
ProfileUri
Uri that will return the user profile for the auth endpoint once authorized
Declaration
public string ProfileUri { get; set; }
Property Value
Type | Description |
---|---|
String |
Scheme
The Auth scheme used by the resulting TokenInfo
Declaration
public string Scheme { get; set; }
Property Value
Type | Description |
---|---|
String |
TokenPath
The uri path to get a token - relative to AuthUri
Declaration
public string TokenPath { get; set; }
Property Value
Type | Description |
---|---|
String |
VerificationAddressName
The property name of the token return json that has the verification Uri
Declaration
public string VerificationAddressName { get; set; }
Property Value
Type | Description |
---|---|
String |