SAP ABAP Class CL_OAUTH2_S_SCOPE_COLLECTION (OAuth2 Scope Collection)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC (Application Component) Security
⤷
SOAUTH2 (Package) OAuth2
⤷
⤷
Properties
| Class | CL_OAUTH2_S_SCOPE_COLLECTION | |
| Short Description | OAuth2 Scope Collection | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SOAUTH2 | OAuth2 |
| Created | 20111012 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_OAUTH2_S_SCOPE_COLLECTION has no interface implemented.
Friends
Class CL_OAUTH2_S_SCOPE_COLLECTION 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) | TY_T_OA_SCOPE | OAuth2 Scope | 20111012 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | TY_T_OA_SCOPE_LOCAL | 20120912 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | TY_T_SCOPE_S | 20111018 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | TY_T_SCOPE_ERROR | 20111017 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | TY_T_SCOPE | 20120912 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20111018 | ||
| 2 | Instance method | Public | Method | 20111012 | ||
| 3 | Instance method | Private | Method | 20120912 | ||
| 4 | Instance method | Private | Method | 20120912 | ||
| 5 | Instance method | Private | Method | 20111018 | ||
| 6 | Instance method | Public | Method | 20120912 | ||
| 7 | Instance method | Private | Method | 20120912 | ||
| 8 | Instance method | Private | Constructor | 20111012 | ||
| 9 | Instance method | Private | Method | 20111012 | ||
| 10 | Instance method | Public | Method | 20111012 | ||
| 11 | Instance method | Private | Method | 20120912 | ||
| 12 | Instance method | Public | Method | 20111012 | ||
| 13 | Instance method | Public | Method | 20120912 | ||
| 14 | Static method | Public | Method | 20111012 | ||
| 15 | Instance method | Public | Method | 20111205 |
Events
Class CL_OAUTH2_S_SCOPE_COLLECTION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_OA_SCOPE_LOCAL | Public | See coding | 20120912 | BEGIN OF ty_s_oa_scope_local,
mandt TYPE sy-mandt,
scope_id TYPE oa2_s_sc_id,
pgmid TYPE oa2_pgmid,
object TYPE oa2_object,
obj_name TYPE oa2_obj_name,
created_by TYPE oa2_created_by,
created_on TYPE oa2_created_on,
created_at TYPE oa2_created_at,
scope TYPE string,
END OF ty_s_oa_scope_local
|
||
| 2 | TY_S_SCOPE | Public | See coding | 20111018 | BEGIN OF ty_s_scope,
scope_id TYPE oa2_s_sc_id,
END OF ty_s_scope
|
||
| 3 | TY_S_SCOPE_ERROR | Private | See coding | 20111017 | BEGIN OF ty_s_scope_error,
scope TYPE string,
r_error TYPE REF TO cx_oauth2_exception,
END OF ty_s_scope_error
|
||
| 4 | TY_S_SCOPE_S | Private | See coding | 20120912 | BEGIN OF ty_s_scope_s,
scope_id TYPE string,
END OF ty_s_scope_s
|
||
| 5 | TY_T_OA_SCOPE | Public | See coding | 20111012 | ty_t_oa_scope TYPE STANDARD TABLE OF oa2_sd_sc
|
||
| 6 | TY_T_OA_SCOPE_LOCAL | Public | See coding | 20120912 | ty_t_oa_scope_local TYPE STANDARD TABLE OF ty_s_oa_scope_local
|
||
| 7 | TY_T_SCOPE | Public | See coding | 20111018 | ty_t_scope TYPE STANDARD TABLE OF ty_s_scope
WITH NON-UNIQUE KEY scope_id
|
||
| 8 | TY_T_SCOPE_ERROR | Private | See coding | 20111017 | ty_t_scope_error TYPE HASHED TABLE OF ty_s_scope_error WITH UNIQUE KEY scope
|
||
| 9 | TY_T_SCOPE_S | Private | See coding | 20120912 | ty_t_scope_s TYPE STANDARD TABLE OF ty_s_scope_s
WITH NON-UNIQUE KEY scope_id
|
Method Signatures
Method CHECK Signature
Method CHECK on class CL_OAUTH2_S_SCOPE_COLLECTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111018 |
Method CHECK_AUTHORIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_GRANTED_SCOPE | Call by reference | Type reference (TYPE) | TY_T_SCOPE | Table of Strings | 20111012 | |||
| 2 | I_CLIENT_ID | Call by reference | Type reference (TYPE) | OA2_S_CL_ID | OAuth2 Client ID | 20111206 | |||
| 3 | I_RESOURCE_OWNER | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20111206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111012 |
Method CHECK_AUTHORIZATION_CLASSIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT_ID | Call by reference | Type reference (TYPE) | OA2_S_CL_ID | 20120912 | ||||
| 2 | I_RESOURCE_OWNER | Call by reference | Type reference (TYPE) | XUBNAME | 20120912 | ||||
| 3 | I_SCOPE_ID | Call by reference | Type reference (TYPE) | OA2_S_SC_ID | 20120912 | ||||
| 4 | R_FILTERED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120912 |
Method CHECK_AUTHORIZATION_CLASSIC on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method CHECK_AUTHORIZATION_RBAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OBJECT | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_SCOPE_MANAGER=>TY_S_OBJECT | 20120912 | ||||
| 2 | I_CLIENT_ID | Call by reference | Type reference (TYPE) | OA2_S_CL_ID | 20120912 | ||||
| 3 | I_RESOURCE_OWNER | Call by reference | Type reference (TYPE) | XUBNAME | 20120912 | ||||
| 4 | I_SCOPE_ID | Call by reference | Type reference (TYPE) | OA2_S_SC_ID | 20120912 | ||||
| 5 | R_FILTERED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120912 |
Method CHECK_AUTHORIZATION_RBAM on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method CHECK_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCOPE | Call by reference | Type reference (TYPE) | STRING | 20111018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111018 |
Method CHECK_VISIBILITY Signature
Method CHECK_VISIBILITY on class CL_OAUTH2_S_SCOPE_COLLECTION has no parameter.
Method CHECK_VISIBILITY on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method CHECK_VISIBILITY_EXTENSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_OBJECT | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_SCOPE_MANAGER=>TY_T_OBJECT | 20120912 | ||||
| 2 | CT_OBJECT_VISIBLE | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_SCOPE_MANAGER=>TY_T_OBJECT | 20120912 | ||||
| 3 | I_OBJECT | Call by reference | Type reference (TYPE) | TROBJTYPE | 20120912 |
Method CHECK_VISIBILITY_EXTENSION on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SCOPE | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20111012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111012 |
Method DB_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20111017 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111012 |
Method FILTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SCOPE | Call by reference | Type reference (TYPE) | TY_T_SCOPE | Table of Strings | 20111012 | |||
| 2 | I_CLIENT_ID | Call by reference | Type reference (TYPE) | STRING | 20120522 | ||||
| 3 | I_RO_USER | Call by reference | Type reference (TYPE) | STRING | 20120522 |
Method FILTER on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method FILTER_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SCOPE | Call by reference | Type reference (TYPE) | TY_T_SCOPE | 20120912 | ||||
| 2 | I_CLIENT_ID | Call by reference | Type reference (TYPE) | STRING | 20120912 | ||||
| 3 | I_RO_USER | Call by reference | Type reference (TYPE) | STRING | 20120912 | ||||
| 4 | I_SCOPE_ID | Call by reference | Type reference (TYPE) | OA2_S_SC_ID | 20120912 | ||||
| 5 | R_FILTERED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120912 |
Method FILTER_SINGLE on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method GET_SCOPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SCOPE_LIST | Call by reference | Type reference (TYPE) | TY_T_SCOPE | Table of Strings | 20111012 |
Method GET_SCOPE on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method GRANT_BY_RESOURCE_OWNER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SCOPE | Call by reference | Type reference (TYPE) | TY_T_SCOPE | 20120912 |
Method GRANT_BY_RESOURCE_OWNER on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SCOPE | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20111012 | |||
| 2 | R_R_SCOPE_COLLECTION | Value transfer | Object reference (TYPE REF TO) | CL_OAUTH2_S_SCOPE_COLLECTION | OAuth2 Scope Collection | 20111012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111012 |
Method WRITE_AUDIT_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT_ID | Call by reference | Type reference (TYPE) | STRING | 20111205 | ||||
| 2 | I_RESOURCE_OWNER | Call by reference | Type reference (TYPE) | STRING | 20111205 |
Method WRITE_AUDIT_LOG on class CL_OAUTH2_S_SCOPE_COLLECTION has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |