public final class AWSCognitoAuthSignOutOptions
extends com.amplifyframework.auth.options.AuthSignOutOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
AWSCognitoAuthSignOutOptions.CognitoBuilder
The builder for this class.
|
com.amplifyframework.auth.options.AuthSignOutOptions.Builder<T extends com.amplifyframework.auth.options.AuthSignOutOptions.Builder<T>>, com.amplifyframework.auth.options.AuthSignOutOptions.CoreBuilder| Modifier | Constructor and Description |
|---|---|
protected |
AWSCognitoAuthSignOutOptions(boolean globalSignOut,
java.lang.String browserPackage)
Advanced options for signing out.
|
| Modifier and Type | Method and Description |
|---|---|
static AWSCognitoAuthSignOutOptions.CognitoBuilder |
builder()
Get a builder object.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBrowserPackage()
Optional browser package override to choose a browser app other than Chrome to launch web sign out.
|
int |
hashCode() |
java.lang.String |
toString() |
protected AWSCognitoAuthSignOutOptions(boolean globalSignOut,
java.lang.String browserPackage)
globalSignOut - Sign out of all devices (do not use when signing out of a WebUI experience)browserPackage - Specify which browser package should be used for signing out of an account which was signed
into with a web UI experience (example value: "org.mozilla.firefox").
Defaults to the Chrome package if not specified.@Nullable public java.lang.String getBrowserPackage()
@NonNull public static AWSCognitoAuthSignOutOptions.CognitoBuilder builder()
public int hashCode()
hashCode in class com.amplifyframework.auth.options.AuthSignOutOptionspublic boolean equals(java.lang.Object obj)
equals in class com.amplifyframework.auth.options.AuthSignOutOptionspublic java.lang.String toString()
toString in class com.amplifyframework.auth.options.AuthSignOutOptions