Method | Description | |
---|---|---|
ApiAuthorizedMiddleware ( RequestDelegate next, IOptions |
||
Invoke ( HttpContext context ) : Task |
Method | Description | |
---|---|---|
Check ( HttpContext context, RequestInfo requestInfo ) : Task |
the main check method
|
|
CheckApplication ( HttpContext context, string applicationId, string applicationPassword ) : Task |
check the application
|
|
CheckExpiredTime ( double timestamp, double expiredSecond ) : bool |
check the expired time
|
|
GetAllApplications ( ) : IList |
return the application infomations
|
|
GetInvoke ( HttpContext context ) : Task |
http get invoke
|
|
PostInvoke ( HttpContext context ) : Task |
http post invoke
|
|
ReturnNoAuthorized ( HttpContext context ) : Task |
not authorized request
|
|
ReturnTimeOut ( HttpContext context ) : Task |
timeout request
|
public ApiAuthorizedMiddleware ( RequestDelegate next, IOptions |
||
next | RequestDelegate | |
options | IOptions |
|
return | Common |