C# Class Glipho.OAuth.Providers.Web.OAuthAuthoriseAttribute

Authorise using OAuth instead of a built in authorisation method.
Inheritance: System.Web.Http.AuthorizeAttribute
Mostra file Open project: Glipho/oauth-providers

Public Methods

Method Description
OAuthAuthoriseAttribute ( ) : System

Initialises a new instance of the OAuthAuthoriseAttribute class.

Protected Methods

Method Description
IsAuthorized ( System actionContext ) : bool

Indicates whether the specified control is authorized.

Method Details

IsAuthorized() protected method

Indicates whether the specified control is authorized.
protected IsAuthorized ( System actionContext ) : bool
actionContext System The context.
return bool

OAuthAuthoriseAttribute() public method

Initialises a new instance of the OAuthAuthoriseAttribute class.
public OAuthAuthoriseAttribute ( ) : System
return System