PushUriParser

Utility class for parsing Push URIs.

Functions

Link copied to clipboard
fun format(credential: PushCredential): String

Format a PushCredential into a URI string.

Link copied to clipboard

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

Link copied to clipboard