handleUri

@Deprecated(message = "This method is deprecated as it cannot support Token-exchange URIs for auth/enroll which require a return type. Please use FTUriUtils.getFTRUriType instead to get an FTRUriType and handle it with the appropriate API")
public abstract AsyncCompletableOperation handleUri(String uriString)

Deprecated

This method is deprecated as it cannot support Token-exchange URIs for auth/enroll which require a return type. Please use FTUriUtils.getFTRUriType instead to get an FTRUriType and handle it with the appropriate API

Handle URIs for enroll or authentication. If the URI cannot be handled, this method will return an error via the provided callback This is a protected operation, so the SDK must be unlocked before calling this method.

This method can NOT handle token-exchange URIs as it doesn't support a return type, necessary for the corresponding token-exchange flows.

Parameters

uriString

uri to parse

Throws

if the SDK is locked.

if the SDK is currently blocked by any blocking operation.

if this is an authentication URI for a user id that is not enrolled.

if the SDK is uninitialized.

if the SDK cannot access necessary cryptographic material or perform cryptographic operations

if the API request fails. Refer to FTApiException subtypes for more specific errors.

If the provided URI string is invalid.