Interface FederatedCredentialManagementDialog
@NullMarked
public interface FederatedCredentialManagementDialog
Represents an open dialog of the Federated Credential Management API.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidCloses the dialog as if the user had clicked X.voidReturns the accounts shown in the account chooser.@Nullable StringReturns the type of the open dialog.@Nullable StringReturns the subtitle of the dialog or null if none.@Nullable StringgetTitle()Returns the title of the dialog.voidselectAccount(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
@Nullable String getDialogType()Returns the type of the open dialog.One of DIALOG_TYPE_ACCOUNT_LIST and DIALOG_TYPE_AUTO_REAUTH.
-
getTitle
@Nullable String getTitle()Returns the title of the dialog. -
getSubtitle
@Nullable String getSubtitle()Returns the subtitle of the dialog or null if none. -
clickDialog
void clickDialog() -
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.
-