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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_OAUTH2 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 BUILD_AT_RESPONSE_BODY Static method Private Method 20111012
2 BUILD_ERROR_RESPONSE_BODY Static method Public Method 20111012
3 BUILD_RESPONSE Instance method Private Method 20111012
4 CERTIFICATE_AVAILABLE Static method Public Method 20111201
5 CHECK_AUTHENTICATION_CLIENT Static method Public Method 20120719
6 CHECK_AUTHENTICATION_ICF Static method Public Method 20120719
7 ENCODING Static method Private Method 20120201
8 GET_AUTHENTICATED_CLIENT_USER Static method Public Method 20120719
9 GET_MANDT Static method Public Method 20120719
10 GET_TOKEN_ENDPOINT_URL 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 Importing IR_RESPONSE Call by reference Object reference (TYPE REF TO) IF_HTTP_RESPONSE HTTP Framework (iHTTP) HTTP Response 20120307
2 Importing IS_ACCESS_TOKEN Call by reference Type reference (TYPE) IF_OAUTH2=>TY_S_ACCESS_TOKEN 20111012
3 Importing 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 Importing IR_RESPONSE Call by reference Object reference (TYPE REF TO) IF_HTTP_RESPONSE HTTP Framework (iHTTP) HTTP Response 20120307
2 Importing 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 Importing IR_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20111012
2 Importing IS_ACCESS_TOKEN Call by reference Type reference (TYPE) IF_OAUTH2=>TY_S_ACCESS_TOKEN 20111012
3 Importing IS_ERROR Call by reference Type reference (TYPE) IF_OAUTH2=>TY_S_ERROR 20111012
4 Importing IT_SCOPE Call by reference Type reference (TYPE) STRING_TABLE Table of Strings 20120123
5 Importing I_HTTP_STATUS_CODE Call by reference Type reference (TYPE) I 20111012
6 Importing 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 Importing I_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20111201
2 Returning R_CERT_AVAIL Value transfer Type reference (TYPE) ABAP_BOOL Certificate Available 20111201
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20111201

Method CHECK_AUTHENTICATION_CLIENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CLIENT Call by reference Object reference (TYPE REF TO) CL_OAUTH2_S_CLIENT OAuth2 Client 20120719
2 Importing 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 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120719

Method CHECK_AUTHENTICATION_ICF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CLIENT Call by reference Object reference (TYPE REF TO) CL_OAUTH2_S_CLIENT OAuth2 Client 20120719
2 Importing 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 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120719

Method ENCODING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ACCESS_TOKEN Call by reference Type reference (TYPE) IF_OAUTH2=>TY_S_ACCESS_TOKEN 20120201
2 Exporting ES_ERROR Call by reference Type reference (TYPE) IF_OAUTH2=>TY_S_ERROR 20120201
3 Exporting ET_SCOPE Call by reference Type reference (TYPE) STRING_TABLE Table of Strings 20120201
4 Importing IS_ACCESS_TOKEN Call by reference Type reference (TYPE) IF_OAUTH2=>TY_S_ACCESS_TOKEN 20120201
5 Importing IS_ERROR Call by reference Type reference (TYPE) IF_OAUTH2=>TY_S_ERROR 20120201
6 Importing 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 Returning 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 Importing IO_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20120719
2 Returning R_MANDT Value transfer Type reference (TYPE) SY-MANDT Client ID of Current User 20120719
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120719

Method GET_TOKEN_ENDPOINT_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20120719
2 Returning R_TOKEN_ENDPOINT_URL Value transfer Type reference (TYPE) STRING 20120719
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120719
History
Last changed by/on SAP  20130531 
SAP Release Created in 732