146 строки
6.3 KiB
YAML
146 строки
6.3 KiB
YAML
### YamlMime:JavaType
|
|
constructors:
|
|
- fullName: com.microsoft.aad.adal.FileTokenCacheStore.FileTokenCacheStore(Context context, String fileName)
|
|
name: FileTokenCacheStore(Context context, String fileName)
|
|
nameWithType: FileTokenCacheStore.FileTokenCacheStore(Context context, String fileName)
|
|
parameters:
|
|
- description: >-
|
|
<p>
|
|
|
|
<xref uid="" data-throw-if-not-resolved="false" data-raw-source="Context"></xref>
|
|
|
|
</p>
|
|
name: context
|
|
type: <xref href="Context?alt=Context&text=Context" data-throw-if-not-resolved="False"/>
|
|
- description: <p>filename should be unique to this instance since read operations don't read from file directly. write operations write to a file. </p>
|
|
name: fileName
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>It tracks data in memory until it writes that to a file with write operation.</p>
|
|
|
|
<p></p>
|
|
syntax: public FileTokenCacheStore(Context context, String fileName)
|
|
uid: com.microsoft.aad.adal.FileTokenCacheStore.FileTokenCacheStore(Context,String)
|
|
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.FileTokenCacheStore.contains(String key)
|
|
name: contains(String key)
|
|
nameWithType: FileTokenCacheStore.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.FileTokenCacheStore.contains(String)
|
|
- fullName: com.microsoft.aad.adal.FileTokenCacheStore.getAll()
|
|
name: getAll()
|
|
nameWithType: FileTokenCacheStore.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<<xref href="com.microsoft.aad.adal.TokenCacheItem?alt=com.microsoft.aad.adal.TokenCacheItem&text=TokenCacheItem" data-throw-if-not-resolved="False"/>>
|
|
summary: >-
|
|
<p>Get all cached token items.</p>
|
|
|
|
<p></p>
|
|
syntax: public Iterator<TokenCacheItem> getAll()
|
|
uid: com.microsoft.aad.adal.FileTokenCacheStore.getAll()
|
|
- fullName: com.microsoft.aad.adal.FileTokenCacheStore.getItem(String key)
|
|
name: getItem(String key)
|
|
nameWithType: FileTokenCacheStore.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.FileTokenCacheStore.getItem(String)
|
|
- fullName: com.microsoft.aad.adal.FileTokenCacheStore.removeAll()
|
|
name: removeAll()
|
|
nameWithType: FileTokenCacheStore.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.FileTokenCacheStore.removeAll()
|
|
- fullName: com.microsoft.aad.adal.FileTokenCacheStore.removeItem(String key)
|
|
name: removeItem(String key)
|
|
nameWithType: FileTokenCacheStore.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.FileTokenCacheStore.removeItem(String)
|
|
- fullName: com.microsoft.aad.adal.FileTokenCacheStore.setItem(String key, TokenCacheItem item)
|
|
name: setItem(String key, TokenCacheItem item)
|
|
nameWithType: FileTokenCacheStore.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.FileTokenCacheStore.setItem(String,TokenCacheItem)
|
|
nameWithType: FileTokenCacheStore
|
|
syntax: public class FileTokenCacheStore implements ITokenCacheStore
|
|
type: class
|
|
uid: com.microsoft.aad.adal.FileTokenCacheStore
|
|
fullName: com.microsoft.aad.adal.FileTokenCacheStore
|
|
name: FileTokenCacheStore
|
|
package: com.microsoft.aad.adal
|
|
summary: <p>Persisted cache that keeps cache in-memory until write operation. Filename should not be used on another instance of FileTokenCacheStore since read operations are not synced to file. </p>
|
|
metadata: {}
|