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 | Instance attribute | Private | Type reference (TYPE) | OA2C_UUID | OAuth 2.0 Client UUID | 20130611 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | MANDT | Client | 20130611 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | STRING | B64 encoded state | 20130611 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | OA2C_STATE | RAW state | 20130611 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20130611 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20130611 | ||
| 2 | Static method | Public | Method | 20130611 | ||
| 3 | Instance method | Public | Method | 20130611 | ||
| 4 | Static method | Public | Method | 20130611 | ||
| 5 | Instance method | Public | Method | 20130611 | ||
| 6 | Instance method | Public | Method | 20130625 | ||
| 7 | Instance method | Public | Method | 20130611 | ||
| 8 | 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 | I_STATE | Call by reference | Type reference (TYPE) | STRING | 20130611 | ||||
| 2 | RO_STATE | Value transfer | Object reference (TYPE REF TO) | CL_OA2C_STATE | OAuth 2.0 Client State | 20130611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | IO_OA2C_CONFIG_READER | Call by reference | Object reference (TYPE REF TO) | IF_OA2C_CONFIG_READER | OAuth 2.0 Service Provider Specifics | 20130611 | |||
| 2 | RO_STATE | Value transfer | Object reference (TYPE REF TO) | CL_OA2C_STATE | OAuth 2.0 Client State | 20130611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | 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 |