InterSystems IRIS Data Platform 2020.4 > 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 InterSystems IRIS. 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

Methods

classmethod OnEndSession() [ Language = objectscript ]
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

Feedback