[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/lcobucci/jwt/src/ -> Parser.php (summary)

This file is part of Lcobucci\JWT, a simple library to handle JWT and JWS

License: http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
File Size: 175 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Parser:: (7 methods):
  __construct()
  parse()
  splitJwt()
  parseHeader()
  parseClaims()
  convertItems()
  parseSignature()


Class: Parser  - X-Ref

This class parses the JWT strings and convert them into tokens

__construct(Decoder $decoder = null)   X-Ref
Initializes the object

param: Decoder $decoder

parse($jwt)   X-Ref
Parses the JWT and returns a token

param: string $jwt
return: Token

splitJwt($jwt)   X-Ref
Splits the JWT string into an array

param: string $jwt
return: array

parseHeader($data)   X-Ref
Parses the header from a string

param: string $data
return: array

parseClaims($data)   X-Ref
Parses the claim set from a string

param: string $data
return: array

convertItems(array $items)   X-Ref

param: array<string, mixed> $items
return: array<string, mixed>

parseSignature(array $header, $data)   X-Ref
Returns the signature from given data

param: array $header
param: string $data
return: Signature



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer