HeaderParam Event

Fires once for each JOSE header parameter.

Syntax

class JWTHeaderParamEventParams {
public:
  const QString &Name();
  const QString &Value();
  int DataType();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void HeaderParam(JWTHeaderParamEventParams *e);
// Or, subclass JWT and override this emitter function. virtual int FireHeaderParam(JWTHeaderParamEventParams *e) {...}

Remarks

When Decrypt, Verify or Parse is called this event will fire once for each JOSE header parameter.

Name is the name of the parameter.

Value is the value of the parameter.

DataType specifies the JSON data type of the value. Possible values are:

  • 0 (Object)
  • 1 (Array)
  • 2 (String)
  • 3 (Number)
  • 4 (Bool)
  • 5 (Null)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 Qt Edition - Version 20.0 [Build 8155]