SAP ABAP Class CL_OA2C_STATE (OAuth 2.0 Client State)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SOAUTH2_CLIENT (Package) OAuth 2.0 Client
Properties
Class CL_OA2C_STATE  
Short Description OAuth 2.0 Client State    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOAUTH2_CLIENT   OAuth 2.0 Client 
Created 20130419   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_OA2C_STATE has no forward declaration.
Interfaces
Class CL_OA2C_STATE has no interface implemented.
Friends
Class CL_OA2C_STATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 M_CLIENT_UUID Instance attribute Private Type reference (TYPE) OA2C_UUID OAuth 2.0 Client UUID 20130611
2 M_MANDT Instance attribute Private Type reference (TYPE) MANDT Client 20130611
3 M_STATE Instance attribute Private Type reference (TYPE) STRING B64 encoded state 20130611
4 M_STATE_X Instance attribute Private Type reference (TYPE) OA2C_STATE RAW state 20130611
5 M_UNAME Instance attribute Private Type reference (TYPE) XUBNAME User Name in User Master Record 20130611
Methods
# Method Level Visibility Method type Description Created on
1 DB_DELETE Instance method Public Method 20130611
2 DB_READ Static method Public Method 20130611
3 DB_SAVE Instance method Public Method 20130611
4 GENERATE Static method Public Method 20130611
5 GET_CLIENT_UUID Instance method Public Method 20130611
6 GET_MANDT Instance method Public Method 20130625
7 GET_STATE Instance method Public Method 20130611
8 GET_UNAME Instance method Public Method 20130625
Events
Class CL_OA2C_STATE has no event.
Types
Class CL_OA2C_STATE has no local type.
Method Signatures

Method DB_DELETE Signature

Method DB_DELETE on class CL_OA2C_STATE has no parameter.
Method DB_DELETE on class CL_OA2C_STATE has no exception.

Method DB_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_STATE Call by reference Type reference (TYPE) STRING 20130611
2 Returning RO_STATE Value transfer Object reference (TYPE REF TO) CL_OA2C_STATE OAuth 2.0 Client State 20130611
# Exception Resumable Description Created on
1 CX_OA2C_STATE_DB_READ Error reading authorization code state value from DB. 20130613

Method DB_SAVE Signature

Method DB_SAVE on class CL_OA2C_STATE has no parameter.
# Exception Resumable Description Created on
1 CX_OA2C_STATE_DB_SAVE Error writing authorization code state value to DB. 20130613

Method GENERATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OA2C_CONFIG_READER Call by reference Object reference (TYPE REF TO) IF_OA2C_CONFIG_READER OAuth 2.0 Service Provider Specifics 20130611
2 Returning RO_STATE Value transfer Object reference (TYPE REF TO) CL_OA2C_STATE OAuth 2.0 Client State 20130611
# Exception Resumable Description Created on
1 CX_OA2C_STATE_GENERATION Error generating state value 20130613

Method GET_CLIENT_UUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_CLIENT_UUID Value transfer Type reference (TYPE) OA2C_UUID OAuth 2.0 Client UUID 20130611

Method GET_CLIENT_UUID on class CL_OA2C_STATE has no exception.

Method GET_MANDT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_MANDT Value transfer Type reference (TYPE) MANDT Client 20130625

Method GET_MANDT on class CL_OA2C_STATE has no exception.

Method GET_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_STATE Value transfer Type reference (TYPE) STRING B64 encoded state 20130611

Method GET_STATE on class CL_OA2C_STATE has no exception.

Method GET_UNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_UNAME Value transfer Type reference (TYPE) XUBNAME User Name in User Master Record 20130625

Method GET_UNAME on class CL_OA2C_STATE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740