Interface VSAccountManagerDelegate
-
public interface VSAccountManagerDelegateA VSAccountManager instance coordinates access to a subscriber's account. API-Since: 10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccountManagerDismissViewController(@NotNull VSAccountManager accountManager, @NotNull UIViewController viewController)Called when the account manager is finished using the presented view controller.voidaccountManagerPresentViewController(@NotNull VSAccountManager accountManager, @NotNull UIViewController viewController)Called when the account manager needs user interaction to complete a request.default booleanaccountManagerShouldAuthenticateAccountProviderWithIdentifier(@NotNull VSAccountManager accountManager, @NotNull java.lang.String accountProviderIdentifier)This method can be used to temporarily refrain from authenticating with an otherwise-supported provider during a transient outage.
-
-
-
Method Detail
-
accountManagerDismissViewController
void accountManagerDismissViewController(@NotNull @NotNull VSAccountManager accountManager, @NotNull @NotNull UIViewController viewController)Called when the account manager is finished using the presented view controller.- Parameters:
accountManager- The account manager instance that previously asked to show the view controller.viewController- The view controller that is being presented to the user. You must use -dismissViewControllerAnimated:completion: to begin dismissing the view controller before returning from this method.
-
accountManagerPresentViewController
void accountManagerPresentViewController(@NotNull @NotNull VSAccountManager accountManager, @NotNull @NotNull UIViewController viewController)Called when the account manager needs user interaction to complete a request.- Parameters:
accountManager- The account manager instance that needs to show the view controller.viewController- A view controller that needs to be presented to the user. You must use -presentViewController:animated:completion: to begin presenting this view controller before returning from this method.
-
accountManagerShouldAuthenticateAccountProviderWithIdentifier
default boolean accountManagerShouldAuthenticateAccountProviderWithIdentifier(@NotNull @NotNull VSAccountManager accountManager, @NotNull @NotNull java.lang.String accountProviderIdentifier)This method can be used to temporarily refrain from authenticating with an otherwise-supported provider during a transient outage. This method will be called when the user chooses a supported provider from the list of providers. If you do not implement this method, the user will be able to authenticate with all supported providers. [@returns] Returning NO will cause the request will fail with an unsupported provider error.- Parameters:
accountManager- The account manager instance that received a metadata request.accountProviderIdentifier- Identifies the otherwise-supported account provider.
-
-