Namespace: Consultingwerk.Framework
Class 
JsonWebTokenParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:JsonWebTokenParser
Purpose:Parser for JWT Tokens
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Apr 17 12:09:37 CEST 2021
Notes:https://tools.ietf.org/html/rfc7519
Purpose: Returns the value of the given JSON Array or String
Notes: JSON Arrays will be returned as a comma-delimited list



Top Method Summary
Options Name Purpose
# CHARACTER GetJsonValue (JsonObject, character) Returns the value of the given JSON Array or String
+ Consultingwerk.Framework.JsonWebToken Parse (longchar) Parses a JWT Token and returns header and payload as a Structure


Method Detail
Top

PROTECTED CHARACTER GetJsonValue (JsonObject, character)

Purpose: Returns the value of the given JSON Array or String
Notes: JSON Arrays will be returned as a comma-delimited list

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The reference to the JSON object
pcPropertyName CHARACTER
The name of the property to return
Returns CHARACTER
The value of the property
Top

PUBLIC Consultingwerk.Framework.JsonWebToken Parse (longchar)

Purpose: Parses a JWT Token and returns header and payload
as a Structure
Notes:

Parameters:
plcToken LONGCHAR
The BASE64 URL Encoded token representation of the complete token (header and payload)
Returns Consultingwerk.Framework.JsonWebToken
The JsonWebToken with the header and payload data


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:51:39