IRISLIB database
XOAUTH2 Class Reference

The implementation of the XOAUTH2 SASL security mechanism to be used with Net.Authenticator, our implementation of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222. More...

Inheritance diagram for XOAUTH2:
Collaboration diagram for XOAUTH2:

Public Member Functions

_.Library.Boolean Next (_.Library.String challenge, _.Library.String response)
 Return next response based on challenge using the XOAUTH2 SASL mechanism. More...
 
_.Library.Boolean Start (_.Library.String response)
 Start authentication based on UserName and AccessToken using the XOAUTH2 SASL mechanism.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 AccessToken
 The access token being authenticated. More...
 
 MechanismName
 The name of the security mechanism. More...
 
- Public Attributes inherited from Base
 MechanismName
 The name of the security mechanism. More...
 
 Password
 The password for the user name being authenticated. More...
 
 UserName
 The user name being authenticated. More...
 

Private Attributes

 __state
 State of client side of authentication:
More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

The implementation of the XOAUTH2 SASL security mechanism to be used with Net.Authenticator, our implementation of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222.

Member Function Documentation

◆ Next()

_.Library.Boolean Next ( _.Library.String  challenge,
_.Library.String  response 
)

Return next response based on challenge using the XOAUTH2 SASL mechanism.

Return value is false to indicate abort.

Reimplemented from Base.

Member Data Documentation

◆ AccessToken

AccessToken

The access token being authenticated.

 

◆ MechanismName

MechanismName

The name of the security mechanism.


This name must be one of SASL mechanism names that is registered with IANA.  

◆ __state

__state
private

State of client side of authentication:

1 - initial 2 - access token previously returned