An auth handler that provides JWT 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\JWTAuthHandler
param $authProvider [JWTAuth] the auth provider to use create($authProvider)
Create a JWT auth handler
param $authProvider [JWTAuth] the auth provider to use. param $skip [string] create($authProvider, $skip)
JWTAuth
string
\io\vertx\jphp\ext\web\handler\JWTAuthHandler
the auth handler
handle( $arg0) : void
RoutingContext
parseCredentials( $arg0, $arg1) : void
RoutingContext
callable
setAudience( $arg0) : $this
array
$this
a reference to this for fluency
setIgnoreExpiration( $arg0) : $this
boolean
$this
a reference to this for fluency
setIssuer( $arg0) : $this
string
$this
a reference to this for fluency