Method | Description | |
---|---|---|
HandleErrorResponse ( string applicationName, string errorReason ) : System.Web.Mvc.ActionResult |
When implemented in a derived class, handles an unsuccessful response.
|
|
HandleSuccess ( string applicationName, string accessToken ) : System.Web.Mvc.ActionResult |
Invokes HandleSuccess(System.String, System.String, System.DateTime) with a DateTime value of DateTime.MaxValue, indicating an infinite session.
|
|
HandleSuccess ( string applicationName, string accessToken, System.DateTime expiration ) : System.Web.Mvc.ActionResult |
When implemented in a derived class, handles a successful authentication response and access token.
|
Method | Description | |
---|---|---|
Authorize ( string applicationName, string code, string errorCode, string accessToken, long expiration ) : System.Web.Mvc.ActionResult | ||
DetermineErrorReasonKnownValue ( string errorCode ) : string | ||
GetAppConfig ( |
||
GetHandlerConfig ( string appName ) : |
protected abstract HandleErrorResponse ( string applicationName, string errorReason ) : System.Web.Mvc.ActionResult | ||
applicationName | string | The name of the application requesting the access. |
errorReason | string |
///
|
return | System.Web.Mvc.ActionResult |
protected HandleSuccess ( string applicationName, string accessToken ) : System.Web.Mvc.ActionResult | ||
applicationName | string | The name of the application that was approved for access. |
accessToken | string | The access token provided by OAuth. |
return | System.Web.Mvc.ActionResult |
protected abstract HandleSuccess ( string applicationName, string accessToken, System.DateTime expiration ) : System.Web.Mvc.ActionResult | ||
applicationName | string | The name of the application that was approved for access. |
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 | System.Web.Mvc.ActionResult |