An auth handler that provides HTTP Basic Authentication support.
package |
Default |
---|
__construct()
addAuthorities( $arg0) : $this
array
$this
a reference to this, so the API can be used fluently
addAuthority( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
create( $arg0, $arg1 = null) : \io\vertx\jphp\ext\web\handler\DigestAuthHandler
param $authProvider [HtdigestAuth] the auth provider to use create($authProvider)
Create a digest auth handler, specifying the expire timeout for nonces.
param $authProvider [HtdigestAuth] the auth service to use param $nonceExpireTimeout [integer] the nonce expire timeout in milliseconds. create($authProvider, $nonceExpireTimeout)
HtdigestAuth
integer
\io\vertx\jphp\ext\web\handler\DigestAuthHandler
the auth handler
handle( $arg0) : void
RoutingContext
parseCredentials( $arg0, $arg1) : void
RoutingContext
callable
DEFAULT_NONCE_EXPIRE_TIMEOUT
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|