Contents

refreshCarrierToken()

Attempts to refresh the carrier token.

Declaration

func refreshCarrierToken() -> Bool

Return Value

true if the system performs a token refresh in response to this call; otherwise, false.

Discussion

Call this method to update the carrierToken when the token exists but the server rejects it.

Inspect the return value to determine whether this call results in an actual refresh. If the return value is true, the system attempts the refresh and calls the delegate method subscriberTokenRefreshed(_:). A return value of false indicates an invalid argument (such as bad carrier descriptors or service descriptor) or that the subscriber doesn’t support the authentication action.

See Also

Managing the carrier token