parse

Parse a Push URI string into a PushCredential. Format: pushauth://push/issuer:accountName?r=regEndpoint&a=authEndpoint&s=sharedSecret&d=userId Format: mfauth://push/issuer:accountName?r=regEndpoint&a=authEndpoint&s=sharedSecret&d=userId

Return

A PushCredential.

Parameters

uri

The URI string.

Throws

if the URI is invalid.