azure-docs-sdk-java/docs-ref-autogen/com.microsoft.aad.adal.Memo...

131 строка
5.6 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: com.microsoft.aad.adal.MemoryTokenCacheStore.MemoryTokenCacheStore()
name: MemoryTokenCacheStore()
nameWithType: MemoryTokenCacheStore.MemoryTokenCacheStore()
summary: <p>Creates MemoryTokenCacheStore. </p>
syntax: public MemoryTokenCacheStore()
uid: com.microsoft.aad.adal.MemoryTokenCacheStore.MemoryTokenCacheStore()
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="Serializable" data-throw-if-not-resolved="False"/>
- <xref href="com.microsoft.aad.adal.ITokenCacheStore?alt=com.microsoft.aad.adal.ITokenCacheStore&text=ITokenCacheStore" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.aad.adal.MemoryTokenCacheStore.contains(String key)
name: contains(String key)
nameWithType: MemoryTokenCacheStore.contains(String key)
overridden: com.microsoft.aad.adal.ITokenCacheStore.contains(String)
parameters:
- description: >-
<p>
<xref uid="com.microsoft.aad.adal.CacheKey" data-throw-if-not-resolved="false" data-raw-source="CacheKey"></xref>
</p>
name: key
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>true if it exists </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Checks if cache key exists.</p>
<p></p>
syntax: public boolean contains(String key)
uid: com.microsoft.aad.adal.MemoryTokenCacheStore.contains(String)
- fullName: com.microsoft.aad.adal.MemoryTokenCacheStore.getAll()
name: getAll()
nameWithType: MemoryTokenCacheStore.getAll()
overridden: com.microsoft.aad.adal.ITokenCacheStore.getAll()
returns:
description: >-
<p>
<xref uid="" data-throw-if-not-resolved="false" data-raw-source="Iterator"></xref> of <xref uid="com.microsoft.aad.adal.TokenCacheItem" data-throw-if-not-resolved="false" data-raw-source="TokenCacheItem"></xref>s in the cache. </p>
type: Iterator&lt;<xref href="com.microsoft.aad.adal.TokenCacheItem?alt=com.microsoft.aad.adal.TokenCacheItem&text=TokenCacheItem" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Get all cached token items.</p>
<p></p>
syntax: public Iterator<TokenCacheItem> getAll()
uid: com.microsoft.aad.adal.MemoryTokenCacheStore.getAll()
- fullName: com.microsoft.aad.adal.MemoryTokenCacheStore.getItem(String key)
name: getItem(String key)
nameWithType: MemoryTokenCacheStore.getItem(String key)
overridden: com.microsoft.aad.adal.ITokenCacheStore.getItem(String)
parameters:
- description: >-
<p>
<xref uid="com.microsoft.aad.adal.CacheKey" data-throw-if-not-resolved="false" data-raw-source="CacheKey"></xref>
</p>
name: key
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>Token cache item </p>
type: <xref href="com.microsoft.aad.adal.TokenCacheItem?alt=com.microsoft.aad.adal.TokenCacheItem&text=TokenCacheItem" data-throw-if-not-resolved="False"/>
summary: >-
<p>Get cache item.</p>
<p></p>
syntax: public TokenCacheItem getItem(String key)
uid: com.microsoft.aad.adal.MemoryTokenCacheStore.getItem(String)
- fullName: com.microsoft.aad.adal.MemoryTokenCacheStore.removeAll()
name: removeAll()
nameWithType: MemoryTokenCacheStore.removeAll()
overridden: com.microsoft.aad.adal.ITokenCacheStore.removeAll()
summary: <p>Removes all items from cache. </p>
syntax: public void removeAll()
uid: com.microsoft.aad.adal.MemoryTokenCacheStore.removeAll()
- fullName: com.microsoft.aad.adal.MemoryTokenCacheStore.removeItem(String key)
name: removeItem(String key)
nameWithType: MemoryTokenCacheStore.removeItem(String key)
overridden: com.microsoft.aad.adal.ITokenCacheStore.removeItem(String)
parameters:
- description: >-
<p>
<xref uid="com.microsoft.aad.adal.CacheKey" data-throw-if-not-resolved="false" data-raw-source="CacheKey"></xref>
</p>
name: key
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Removes item with key.</p>
<p></p>
syntax: public void removeItem(String key)
uid: com.microsoft.aad.adal.MemoryTokenCacheStore.removeItem(String)
- fullName: com.microsoft.aad.adal.MemoryTokenCacheStore.setItem(String key, TokenCacheItem item)
name: setItem(String key, TokenCacheItem item)
nameWithType: MemoryTokenCacheStore.setItem(String key, TokenCacheItem item)
overridden: com.microsoft.aad.adal.ITokenCacheStore.setItem(String,TokenCacheItem)
parameters:
- description: >-
<p>
<xref uid="com.microsoft.aad.adal.CacheKey" data-throw-if-not-resolved="false" data-raw-source="CacheKey"></xref>
</p>
name: key
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Cache item </p>
name: item
type: <xref href="com.microsoft.aad.adal.TokenCacheItem?alt=com.microsoft.aad.adal.TokenCacheItem&text=TokenCacheItem" data-throw-if-not-resolved="False"/>
summary: >-
<p>Sets item.</p>
<p></p>
syntax: public void setItem(String key, TokenCacheItem item)
uid: com.microsoft.aad.adal.MemoryTokenCacheStore.setItem(String,TokenCacheItem)
nameWithType: MemoryTokenCacheStore
syntax: public class MemoryTokenCacheStore implements ITokenCacheStore
type: class
uid: com.microsoft.aad.adal.MemoryTokenCacheStore
fullName: com.microsoft.aad.adal.MemoryTokenCacheStore
name: MemoryTokenCacheStore
package: com.microsoft.aad.adal
summary: <p>tokenCacheItem is not persisted. Memory cache does not keep static items. </p>
metadata: {}