This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > OAuth2.SessionEvents

OAuth2.SessionEvents

class OAuth2.SessionEvents extends %CSP.SessionEvents

The override of %CSP.SessionEvents to allow us to clean up access tokens that are linked to the session This class is used internally by Caché. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

Method Inventory (Including Private)

Methods (Including Private)

classmethod OnEndSession()
Called when the session is about to be deleted, either because of a timeout (in which case OnTimeout() is called first) or because the application has explicitly closed this session. Use the %session object to examine this session. If you wish to abort this deletion then:
  Set %session.EndSession=0
  

Inherited Members

Inherited Methods (Including Private)

Feedback