SAP ABAP Class CL_OAUTH2_TST_CONSUMER_IF_IMPL (Consumer Interface implementation for OAUTH2 testing)
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 20111229
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_OAUTH2_CONSUMER OAuth2 consuming framework provides mapping resource->scope 20111019
Properties
Class CL_OAUTH2_TST_CONSUMER_IF_IMPL  
Short Description Consumer Interface implementation for OAUTH2 testing    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOAUTH2   OAuth2 
Created 20111019   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_OAUTH2_TST_CONSUMER_IF_IMPL has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_HTTP_EXTENSION HTTP Framework (iHTTP) HTTP Request Handler 20111229
2 IF_OAUTH2_CONSUMER OAuth2 consuming framework provides mapping resource->scope 20111019
Friends
Class CL_OAUTH2_TST_CONSUMER_IF_IMPL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CASE_DEFAULT Constant Public Type reference (TYPE) I 0 Behave Nicely and return key to existing Scope 20120125
2 C_CASE_RETURN_EMPTY_KEYS Constant Public Type reference (TYPE) I 3 Force Test Impl. to return empty TADIR Keys 20120125
3 C_CASE_RETURN_NON_EXIST_SCOPE Constant Public Type reference (TYPE) I 4 Force Test Impl. to return Keys for non-existing Scope Obj 20120125
4 C_CASE_THROW_OAUTH_EX Constant Public Type reference (TYPE) I 2 Force Test Impl. to produce OAuth Error 20120125
5 C_CASE_THROW_RUNTIME_EX Constant Public Type reference (TYPE) I 1 Force Test Impl. to produce Runtime Error 20120125
6 M_ERR_TADIR_OB_TO_RETURN Static Attribute Public Attribute reference (LIKE) M_TADIR_OB_TO_RETURN 20111214
7 M_SUCC_TADIR_OB_TO_RETURN Static Attribute Public Attribute reference (LIKE) M_TADIR_OB_TO_RETURN 20111214
8 M_TADIR_OB_TO_RETURN Static Attribute Public Type reference (TYPE) IF_OAUTH2_CONSUMER=>T_TADIR_KEY 20111214
9 M_TEST_CASE Static Attribute Private Type reference (TYPE) I C_CASE_DEFAULT Mode to control the test consumer behavior 20120125
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor 20111214
2 SET_TEST_CASE Static method Public Method Set the test case/behavior of the consumer interface impl. 20120125
Events
Class CL_OAUTH2_TST_CONSUMER_IF_IMPL has no event.
Types
Class CL_OAUTH2_TST_CONSUMER_IF_IMPL has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_OAUTH2_TST_CONSUMER_IF_IMPL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_OAUTH2_TST_CONSUMER_IF_IMPL has no exception.

Method SET_TEST_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEST_CASE Call by reference Type reference (TYPE) I Describes the behavior of the interf. impl. 20120125

Method SET_TEST_CASE on class CL_OAUTH2_TST_CONSUMER_IF_IMPL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in