Property | Type | Description | |
---|---|---|---|
$name | string | Claim "name" (ex. audience or issuer) | |
$type | string | Claim type | |
$value | string | Claim value |
Method | Description | |
---|---|---|
__construct ( string $value, string $type = null ) | Initialize the claim with the given value | |
getName ( ) : string | Get the name value for the current instance | |
getType ( ) : string | Get the current claim type | |
getValue ( ) : string | Get the current value | |
setValue ( string $value ) : |
Set the claim value | |
toArray ( ) : array | Transform claim data into an array |
public __construct ( string $value, string $type = null ) | ||
$value | string | Claim value |
$type | string | Type value [optional] |
protected string $name | ||
return | string |