toJson abstract method

String toJson()

Converts the credential to a JSON representation.

Returns a JSON-encoded string representing the credential.

Implementation

String toJson();