@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="CredentialsContainer")
public class CredentialsContainer
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
CredentialsContainer() |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull Promise<Credential> |
create()
The create() method of the CredentialsContainer interface returns a Promise that resolves with a new Credential instance based on the provided options, or null if no Credential object can be created.
|
@JsNonNull Promise<Credential> |
create(CredentialCreationOptions options)
The create() method of the CredentialsContainer interface returns a Promise that resolves with a new Credential instance based on the provided options, or null if no Credential object can be created.
|
@JsNonNull Promise<Credential> |
get()
The get() method of the CredentialsContainer interface returns a Promise to a single Credential instance that matches the provided parameters.
|
@JsNonNull Promise<Credential> |
get(CredentialRequestOptions options)
The get() method of the CredentialsContainer interface returns a Promise to a single Credential instance that matches the provided parameters.
|
@JsNonNull Promise<java.lang.Void> |
preventSilentAccess()
The preventSilentAccess() method of the CredentialsContainer interface sets a flag that specifies whether automatic log in is allowed for future visits to the current origin, then returns an empty Promise.
|
@JsNonNull Promise<Credential> |
store(Credential credential)
The store() method of the CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic @JsNonNull Promise<Credential> create(@Nonnull CredentialCreationOptions options)
public @JsNonNull Promise<Credential> create()
public @JsNonNull Promise<Credential> get(@Nonnull CredentialRequestOptions options)
public @JsNonNull Promise<Credential> get()
public @JsNonNull Promise<java.lang.Void> preventSilentAccess()
public @JsNonNull Promise<Credential> store(@Nonnull Credential credential)