ITokenParser
protocol ITokenParser
Protocol specifies method which should be implemented by id token parser.
-
Parses the id token string
Declaration
Swift
func parse(_ stringToParse: String, error: inout NSError?) -> IdToken?Parameters
stringToParseThe string obtained using AppAuth framework.
errorAn error which can occur during the parsing (it is passed as inout parameter so, its value can be set inside the function).
Return Value
Valid [IdToken] object is returned on success or nil on failure.
ITokenParser Protocol Reference