SAP ABAP Class CL_OAUTH2_S_TOKEN_ENDPOINT (HTTP Framework (iHTTP) HTTP Request Handler for OAuth2)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC (Application Component) Security
⤷
SOAUTH2 (Package) OAuth2
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20111011 |
Properties
| Class | CL_OAUTH2_S_TOKEN_ENDPOINT | |
| Short Description | HTTP Framework (iHTTP) HTTP Request Handler for OAuth2 | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SOAUTH2 | OAuth2 |
| Created | 20111011 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20111011 |
Friends
Class CL_OAUTH2_S_TOKEN_ENDPOINT has no friend class.
Attributes
Class CL_OAUTH2_S_TOKEN_ENDPOINT has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | 20111012 | ||
| 2 | Static method | Public | Method | 20111012 | ||
| 3 | Instance method | Private | Method | 20111012 | ||
| 4 | Static method | Public | Method | 20111201 | ||
| 5 | Static method | Public | Method | 20120719 | ||
| 6 | Static method | Public | Method | 20120719 | ||
| 7 | Static method | Private | Method | 20120201 | ||
| 8 | Static method | Public | Method | 20120719 | ||
| 9 | Static method | Public | Method | 20120719 | ||
| 10 | Static method | Public | Method | 20120719 |
Events
Class CL_OAUTH2_S_TOKEN_ENDPOINT has no event.
Types
Class CL_OAUTH2_S_TOKEN_ENDPOINT has no local type.
Method Signatures
Method BUILD_AT_RESPONSE_BODY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | HTTP Framework (iHTTP) HTTP Response | 20120307 | |||
| 2 | IS_ACCESS_TOKEN | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ACCESS_TOKEN | 20111012 | ||||
| 3 | IT_SCOPE | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20120123 |
Method BUILD_AT_RESPONSE_BODY on class CL_OAUTH2_S_TOKEN_ENDPOINT has no exception.
Method BUILD_ERROR_RESPONSE_BODY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | HTTP Framework (iHTTP) HTTP Response | 20120307 | |||
| 2 | IS_ERROR | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ERROR | 20111012 |
Method BUILD_ERROR_RESPONSE_BODY on class CL_OAUTH2_S_TOKEN_ENDPOINT has no exception.
Method BUILD_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20111012 | |||
| 2 | IS_ACCESS_TOKEN | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ACCESS_TOKEN | 20111012 | ||||
| 3 | IS_ERROR | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ERROR | 20111012 | ||||
| 4 | IT_SCOPE | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20120123 | |||
| 5 | I_HTTP_STATUS_CODE | Call by reference | Type reference (TYPE) | I | 20111012 | ||||
| 6 | I_HTTP_STATUS_REASON | Call by reference | Type reference (TYPE) | STRING | 20111124 |
Method BUILD_RESPONSE on class CL_OAUTH2_S_TOKEN_ENDPOINT has no exception.
Method CERTIFICATE_AVAILABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20111201 | |||
| 2 | R_CERT_AVAIL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Certificate Available | 20111201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111201 |
Method CHECK_AUTHENTICATION_CLIENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CLIENT | Call by reference | Object reference (TYPE REF TO) | CL_OAUTH2_S_CLIENT | OAuth2 Client | 20120719 | |||
| 2 | IO_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120719 |
Method CHECK_AUTHENTICATION_ICF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CLIENT | Call by reference | Object reference (TYPE REF TO) | CL_OAUTH2_S_CLIENT | OAuth2 Client | 20120719 | |||
| 2 | IO_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120719 |
Method ENCODING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ACCESS_TOKEN | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ACCESS_TOKEN | 20120201 | ||||
| 2 | ES_ERROR | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ERROR | 20120201 | ||||
| 3 | ET_SCOPE | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20120201 | |||
| 4 | IS_ACCESS_TOKEN | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ACCESS_TOKEN | 20120201 | ||||
| 5 | IS_ERROR | Call by reference | Type reference (TYPE) | IF_OAUTH2=>TY_S_ERROR | 20120201 | ||||
| 6 | IT_SCOPE | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20120201 |
Method ENCODING on class CL_OAUTH2_S_TOKEN_ENDPOINT has no exception.
Method GET_AUTHENTICATED_CLIENT_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_CLIENT_USER | Value transfer | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20120719 |
Method GET_AUTHENTICATED_CLIENT_USER on class CL_OAUTH2_S_TOKEN_ENDPOINT has no exception.
Method GET_MANDT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120719 | |||
| 2 | R_MANDT | Value transfer | Type reference (TYPE) | SY-MANDT | Client ID of Current User | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120719 |
Method GET_TOKEN_ENDPOINT_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20120719 | |||
| 2 | R_TOKEN_ENDPOINT_URL | Value transfer | Type reference (TYPE) | STRING | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120719 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |