Railgun JWT

NoneJwkSet
in package
implements JwkSet

Represents a JwkSet containing only a NoneJwk.

Table of Contents

Interfaces

JwkSet
Represents a JSON Web Key Set.

Methods

__construct()  : mixed
getKey()  : Jwk
Attempts to match a key with the given arguments.
getKeys()  : array<string|int, Jwk>
Gets all keys contained in this set.
getPublicKeySet()  : JwkSet
Gets an instance of JwkSet that only contains public keys.
jsonSerialize()  : mixed

Methods

getKey()

Attempts to match a key with the given arguments.

public getKey([string|null $keyId = null ][, string|null $algo = null ]) : Jwk
Parameters
$keyId : string|null = null

Key ID, equivalent to the "kid" field.

$algo : string|null = null

Algorithm, equivalent to the "alg" field.

Return values
Jwk

getKeys()

Gets all keys contained in this set.

public getKeys() : array<string|int, Jwk>
Return values
array<string|int, Jwk>

getPublicKeySet()

Gets an instance of JwkSet that only contains public keys.

public getPublicKeySet() : JwkSet
Return values
JwkSet

jsonSerialize()

public jsonSerialize() : mixed
Attributes
#[ReturnTypeWillChange]

        
On this page

Search results