Interface FederatedCredentialManagementDialog
public interface FederatedCredentialManagementDialog
Represents an open dialog of the Federated Credential Management API.
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Closes the dialog as if the user had clicked X.Returns the accounts shown in the account chooser.Returns the type of the open dialog.Returns the subtitle of the dialog or null if none.getTitle()
Returns the title of the dialog.void
selectAccount
(int index) Selects an account as if the user had clicked on it.
-
Field Details
-
DIALOG_TYPE_ACCOUNT_LIST
- See Also:
-
DIALOG_TYPE_AUTO_REAUTH
- See Also:
-
-
Method Details
-
cancelDialog
void cancelDialog()Closes the dialog as if the user had clicked X. -
selectAccount
void selectAccount(int index) Selects an account as if the user had clicked on it.- Parameters:
index
- The index of the account to select from the list returned by getAccounts().
-
getDialogType
String getDialogType()Returns the type of the open dialog.One of DIALOG_TYPE_ACCOUNT_LIST and DIALOG_TYPE_AUTO_REAUTH.
-
getTitle
String getTitle()Returns the title of the dialog. -
getSubtitle
String getSubtitle()Returns the subtitle of the dialog or null if none. -
getAccounts
List<FederatedCredentialManagementAccount> getAccounts()Returns the accounts shown in the account chooser.If this is an auto reauth dialog, returns the single account that is being signed in.
-