Methods
Static decode
decode( encodedTCString: string ) : TCModel
Parameters
Returns populated TCModel
Static encode
encode( tcModel: TCModel , isForSaving?: boolean ) : string
Parameters
Optional isForSaving: boolean
Returns string
base64url encoded Transparency and Consent String
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Main class for encoding and decoding a TCF Transparency and Consent String