C# 클래스 RepositoryController.RequireApiKeyAttribute

상속: RequireAuthorizationAttribute
파일 보기 프로젝트 열기: matthewschrager/RepositoryController

공개 메소드들

메소드 설명
OnAuthorization ( System actionContext ) : void
RequireApiKeyAttribute ( bool enabled, String headerName = "ApiKey" ) : System

보호된 메소드들

메소드 설명
RequireApiKeyAttribute ( String headerName = "ApiKey" ) : System
ValidateApiKey ( String apiKey ) : bool

메소드 상세

OnAuthorization() 공개 메소드

public OnAuthorization ( System actionContext ) : void
actionContext System
리턴 void

RequireApiKeyAttribute() 보호된 메소드

protected RequireApiKeyAttribute ( String headerName = "ApiKey" ) : System
headerName String
리턴 System

RequireApiKeyAttribute() 공개 메소드

public RequireApiKeyAttribute ( bool enabled, String headerName = "ApiKey" ) : System
enabled bool
headerName String
리턴 System

ValidateApiKey() 보호된 추상적인 메소드

protected abstract ValidateApiKey ( String apiKey ) : bool
apiKey String
리턴 bool