@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 |
|---|---|
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.
|
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.
|
Promise<Credential> |
get()
The get() method of the CredentialsContainer interface returns a Promise to a single Credential instance that matches the provided parameters.
|
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.
|
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.
|
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, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, values@Nonnull public Promise<Credential> create(@Nonnull CredentialCreationOptions options)
@Nonnull public Promise<Credential> create()
@Nonnull public Promise<Credential> get(@Nonnull CredentialRequestOptions options)
@Nonnull public Promise<Credential> get()
@Nonnull public Promise<java.lang.Void> preventSilentAccess()
@Nonnull public Promise<Credential> store(@Nonnull Credential credential)