public final class TokenCachePersistenceOptions extends Object
Constructor and Description |
---|
TokenCachePersistenceOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name uniquely identifying the cache.
|
boolean |
isUnencryptedStorageAllowed()
Gets the status whether unencrypted storage is allowed for the persistent token cache.
|
TokenCachePersistenceOptions |
setName(String name)
Set the name uniquely identifying the cache.
|
TokenCachePersistenceOptions |
setUnencryptedStorageAllowed(boolean unencryptedStorageAllowed)
Allows to use an unprotected file specified by
cacheFileLocation() instead of
Gnome keyring on Linux. |
public TokenCachePersistenceOptions setUnencryptedStorageAllowed(boolean unencryptedStorageAllowed)
cacheFileLocation()
instead of
Gnome keyring on Linux. This is restricted by default. For other platforms this setting currently doesn't apply.unencryptedStorageAllowed
- The flag indicating if unencrypted storage is allowed for the cache or not.public boolean isUnencryptedStorageAllowed()
public TokenCachePersistenceOptions setName(String name)
name
- the name of the cachepublic String getName()
Copyright © 2021 Microsoft Corporation. All rights reserved.