fromUri

Create a PushCredential from a URI. Format: pushauth://push/Issuer:AccountName?a=endpoint&b=SharedSecret

Return

A PushCredential.

Parameters

uri

The URI string.

Throws

if the URI is structurally invalid (scheme mismatch, missing required parameters).

if a URI parameter value fails validation.