Objects such as credentials may optionally implement this interface to provide the capability to refresh itself. For example, a credential with a particular time-restricted lifespan may implement this interface to allow callers to refresh the time period for which it is valid.
Objects such as credentials may optionally implement this interface to provide the capability to refresh itself. For example, a credential with a particular time-restricted lifespan may implement this interface to allow callers to refresh the time period for which it is valid.
(current? this)
Determine if this Object is current.
returns: true if this Object is currently current,
false otherwise. - boolean
Determine if this Object is current. returns: true if this Object is currently current, false otherwise. - `boolean`
(refresh this)
Update or extend the validity period for this Object.
throws: java.lang.SecurityException - if the caller does not have permission to update or extend the validity period for this Object.
Update or extend the validity period for this Object. throws: java.lang.SecurityException - if the caller does not have permission to update or extend the validity period for this Object.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |