C# 클래스 WebApi2.AuthenticateAttribute

Authenticate Attribute with HMAC
상속: System.Web.Http.Filters.ActionFilterAttribute
파일 보기 프로젝트 열기: megadotnet/ironframework

공개 메소드들

메소드 설명
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

The on action executing.

비공개 메소드들

메소드 설명
AddNameValuesToCollection ( string>.List parameterCollection, NameValueCollection nameValueCollection ) : void

The add name values to collection.

AddToMemoryCache ( string signature ) : void

The add to memory cache.

BuildBaseString ( System.Web.Http.Controllers.HttpActionContext actionContext ) : string

The build base string.

BuildParameterCollection ( System.Web.Http.Controllers.HttpActionContext actionContext ) : string>>.List

The build parameter collection.

BuildParameterMessage ( System.Web.Http.Controllers.HttpActionContext actionContext ) : string

The build parameter message.

ConvertObjectAsKeyValuePairList ( object obj, string>.IList querystrings ) : string>>.List

Converts the object as key value pair list.

GetHashedPassword ( string username ) : string

The get hashed password.

GetHttpRequestHeader ( HttpHeaders headers, string headerName ) : string

The get http request header.

IsAuthenticated ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool

The is authenticated.

IsAuthenticated ( string hashedPassword, string message, string signature ) : bool

The is authenticated.

IsDateValidated ( string timestampString ) : bool

The is date validated

IsSignatureValidated ( string signature ) : bool

The is signature validated.

메소드 상세

OnActionExecuting() 공개 메소드

The on action executing.
public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext /// The action context. ///
리턴 void