Method | Description | |
---|---|---|
getToken ( Illuminate\Http\Request | null $request = null ) : string | null | Get the JWT token from the request | |
jwtPayload ( string | null $path = null, Illuminate\Http\Request | null $request = null ) : array | Get payload from JWT token | |
jwtToken ( Illuminate\Http\Request | null $request = null ) : |
Create a new JWT token object from the token in the request |
Method | Description | |
---|---|---|
getAuthHeaderKey ( ) : string | Get the header key to search for the token | |
getInputName ( ) : string | Get the input name to search for the token in the request | |
makeDriver ( ) : GenTux\Jwt\Drivers\JwtDriverInterface | Create a driver to use for the token from the IoC | |
makeRequest ( ) : Illuminate\Http\Request | Resolve the current request from the IoC |