Property | Type | Description | |
---|---|---|---|
DetermineErrorReasonKnownValue | string | ||
GetAppConfig | ApplicationConfigurationElement | ||
GetHandlerConfig | |||
IHttpHandler | void |
Method | Description | |
---|---|---|
HandleErrorResponse ( string errorReason ) : void |
When implemented in a derived class, handles an unsuccessful response.
|
|
HandleSuccess ( string accessToken ) : void |
Invokes HandleSuccess(System.String, System.DateTime) with a DateTime value of DateTime.MaxValue, indicating an infinite session.
|
|
HandleSuccess ( string accessToken, System.DateTime expiration ) : void |
When implemented in a derived class, handles a successful authentication response and access token.
|
Method | Description | |
---|---|---|
DetermineErrorReasonKnownValue ( string errorReason ) : string | ||
GetAppConfig ( |
||
GetHandlerConfig ( ) : |
||
IHttpHandler ( |
protected abstract HandleErrorResponse ( string errorReason ) : void | ||
errorReason | string |
///
|
return | void |
protected HandleSuccess ( string accessToken ) : void | ||
accessToken | string | The access token provided by OAuth. |
return | void |
protected abstract HandleSuccess ( string accessToken, System.DateTime expiration ) : void | ||
accessToken | string | The token with which to create an authenticated session. |
expiration | System.DateTime | The time (relative to the application requesting the token) at which the token expires. If the user allowed for the |
return | void |