parse

fun parse(string: String): Credentials

Parse to a Credentials

Return

a Credentials

Parameters

string

is json format

Throws

if the parse fails or doesn't yield a JSONObject