%SYS
All Classes Namespaces Functions Variables Pages
Response Class Reference

This is the landing page for responses from an OAuth 2.0 authorization server used from InterSystems IRIS OAuth 2.0 client code. More...

Inheritance diagram for Response:
Collaboration diagram for Response:

Static Public Member Functions

_.Library.Status GetCurrentApplication (_.Library.String applicationName)
 Find the OAuth 2.0 application which is associated with the current CSP session. More...
 

Static Public Attributes

 CSPURL = None
 This is the landing page for responses from an OAuth 2.0 authorization server used from InterSystems IRIS OAuth 2.0 client code. More...
 

Detailed Description

This is the landing page for responses from an OAuth 2.0 authorization server used from InterSystems IRIS OAuth 2.0 client code.

The response is processed here and then redirected to the eventual target.

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.

Member Function Documentation

◆ GetCurrentApplication()

_.Library.Status GetCurrentApplication ( _.Library.String  applicationName)
static

Find the OAuth 2.0 application which is associated with the current CSP session.

The application is determined by finding the access token referenced by the CSPOAuth2 query parameter which has been added for to the redirect URL for a login page. The applicationName is returned if successfully found.
Otherwise "" is returned in applicationName with the error status as the return value. If successful the access token will be associated with the current CSP Session and the token will be automatically removed when the CSP session ends.

Member Data Documentation

◆ CSPURL

CSPURL = None
static

This is the landing page for responses from an OAuth 2.0 authorization server used from InterSystems IRIS OAuth 2.0 client code.

The response is processed here and then redirected to the eventual target.

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.