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 is a website building & hosting documentation for Clojure/Script libraries
× close