JWTAuthOptions

Options describing how an JWT Auth should behave.

package

Default

Methods

JWTAuthOptions constructor

__construct( $jwtAuthOptions = null) 

Arguments

$jwtAuthOptions

mixed | null

addJwk

addJwk( $jwks) : $this

Arguments

$jwks

array

Response

$this

addPubSecKey

addPubSecKey( $pubSecKeys) : $this

Arguments

$pubSecKeys

PubSecKeyOptions|array

Response

$this

addSecret

addSecret( $secrets) : $this

Arguments

$secrets

SecretOptions|array

Response

$this

getJwks

getJwks() : array

Response

array

getJWTOptions

getJWTOptions() : \io\vertx\jphp\ext\jwt\JWTOptions

getKeyStore

getKeyStore() : \io\vertx\jphp\ext\auth\KeyStoreOptions

getPermissionsClaimKey

getPermissionsClaimKey() : string

Response

string

getPubSecKeys

getPubSecKeys() : array

Response

array

getSecrets

getSecrets() : array

Response

array

setJwks

setJwks( $jwks) : $this

Arguments

$jwks

array

Response

$this

setJWTOptions

setJWTOptions( $jwtOptions) : $this

Arguments

$jwtOptions

JWTOptions|array

Response

$this

setKeyStore

setKeyStore( $keyStore) : $this

Arguments

$keyStore

KeyStoreOptions|array

Response

$this

setPermissionsClaimKey

setPermissionsClaimKey( $permissionsClaimKey) : $this

Arguments

$permissionsClaimKey

string

Response

$this

setPubSecKeys

setPubSecKeys( $pubSecKeys) : $this

Arguments

$pubSecKeys

PubSecKeyOptions|array

Response

$this

setSecrets

setSecrets( $secrets) : $this

Arguments

$secrets

SecretOptions|array

Response

$this