host to delete cached tokens for
Optionalrealm: stringoptional realm to scope the deletion to
true if a matching entry was found and removed, false otherwise
Flush cache
true if the operation succeeded, false otherwise
Get connection profiles file name
connection profiles file name
Check if there are suitable service account bearer tokens in the cache
true if tokens found in cache, false otherwise
Check if there are suitable tokens in the cache
type of token
true if tokens found in cache, false otherwise
Check if there are suitable user bearer tokens in the cache
true if tokens found in cache, false otherwise
Check if there are suitable user session tokens in the cache
true if tokens found in cache, false otherwise
Initialize token cache
This method is called from app.ts and runs before any of the message handlers are registered. Therefore none of the Console message functions will produce any output.
List every cached session across all hosts
flattened list of cache entries
Read token
type of token
token or null
Save service account bearer token for current connection
Optionalsubject: stringoptional real service-account name, recorded for display by list()
true if the operation succeeded, false otherwise
Save token of any type for current connection
type of token
token object
Optionalsubject: stringoptional actual subject (e.g. username), recorded for display by list()
true if the operation succeeded, false otherwise
Save user bearer token for current connection
Optionalsubject: stringoptional real username, recorded for display by list()
true if the operation succeeded, false otherwise
Save user session token for current connection
Optionalsubject: stringoptional real username, recorded for display by list()
true if the operation succeeded, false otherwise
Delete all cached tokens for a host, or just one realm under it