C# 클래스 SiaqodbCloudService.Filters.AuthenticateAttribute

상속: System.Web.Http.Filters.ActionFilterAttribute
파일 보기 프로젝트 열기: Dotissi/SiaqodbCloud-Service

공개 메소드들

메소드 설명
AuthenticateAttribute ( ) : System
GetHttpRequestAccessKeyIdHeader ( HttpHeaders headers ) : string
GetHttpRequestSignatureHeader ( HttpHeaders headers ) : string
GetHttpRequestTimestampHeader ( HttpHeaders headers ) : string
OnActionExecutingAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken ) : Task

비공개 메소드들

메소드 설명
AddNameValuesToCollection ( string>.List parameterCollection, NameValueCollection nameValueCollection ) : void
AddToMemoryCache ( string signature ) : void
AreSignaturesEqual ( string hashedPassword, string message, string signature ) : bool
BuildBaseString ( System.Web.Http.Controllers.HttpActionContext actionContext ) : Task
BuildParameterCollection ( System.Web.Http.Controllers.HttpActionContext actionContext ) : string>>>.Task
BuildParameterMessage ( System.Web.Http.Controllers.HttpActionContext actionContext ) : Task
ComputeHash ( string hashedPassword, string message ) : string
GetHttpRequestHeader ( HttpHeaders headers, string headerName ) : string
IsAuthenticated ( System.Web.Http.Controllers.HttpActionContext actionContext ) : Task
IsDateValidated ( string timestampString ) : bool
IsSignatureValidated ( string signature ) : bool

메소드 상세

AuthenticateAttribute() 공개 메소드

public AuthenticateAttribute ( ) : System
리턴 System

GetHttpRequestAccessKeyIdHeader() 공개 메소드

public GetHttpRequestAccessKeyIdHeader ( HttpHeaders headers ) : string
headers HttpHeaders
리턴 string

GetHttpRequestSignatureHeader() 공개 메소드

public GetHttpRequestSignatureHeader ( HttpHeaders headers ) : string
headers HttpHeaders
리턴 string

GetHttpRequestTimestampHeader() 공개 메소드

public GetHttpRequestTimestampHeader ( HttpHeaders headers ) : string
headers HttpHeaders
리턴 string

OnActionExecutingAsync() 공개 메소드

public OnActionExecutingAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken ) : Task
actionContext System.Web.Http.Controllers.HttpActionContext
cancellationToken System.Threading.CancellationToken
리턴 Task