Class TokenReader
Validate and get payload from a token string
Namespace: Xmf\Jwt
Package: Xmf
Category: Xmf\Jwt\TokenReader
Copyright: 2016 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at lass/libraries/vendor/xoops/xmf/src/Xmf/Jwt/TokenReader.php
Package: Xmf
Category: Xmf\Jwt\TokenReader
Copyright: 2016 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at lass/libraries/vendor/xoops/xmf/src/Xmf/Jwt/TokenReader.php
public static
object|false
|
#
fromString( string $keyName, string $token, array|Traversable $assertClaims = array() )
Validate and decode a JSON Web Token string |
public static
object|false
|
#
fromCookie( string $keyName, string $cookieName, array|Traversable $assertClaims = array() )
Validate and decode a JSON Web Token string from a cookie |
public static
object|false
|
#
fromRequest( string $keyName, string $attributeName, array|Traversable $assertClaims = array() )
Validate and decode a JSON Web Token string from a request (i.e. POST body) |
public static
object|false
|
#
fromHeader( string $keyName, array|Traversable $assertClaims = array(), string $headerName = 'Authorization' )
Validate and decode a JSON Web Token string from a header |