Hierarchy
⤷
⤷
Properties
| Class | CL_OAUTH2_S_CLIENT | |
| Short Description | OAuth2 Client | |
| 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) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_OAUTH2_S_CLIENT has no interface implemented.
Friends
Class CL_OAUTH2_S_CLIENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 60 | 20121115 | |||
| 2 | Constant | Public | Type reference (TYPE) | TY_MODE | 'CREATE' | 20120326 | |||
| 3 | Constant | Public | Type reference (TYPE) | TY_MODE | 'DELETE' | 20120326 | |||
| 4 | Constant | Public | Type reference (TYPE) | TY_MODE | 'DISPLAY' | 20120320 | |||
| 5 | Constant | Public | Type reference (TYPE) | TY_MODE | 'EDIT' | 20120320 | |||
| 6 | Constant | Public | Type reference (TYPE) | C | 'C' | 20120319 | |||
| 7 | Constant | Public | Type reference (TYPE) | C | 'N' | 20120319 | |||
| 8 | Constant | Public | Type reference (TYPE) | C | 'S' | 20120319 | |||
| 9 | Constant | Private | Type reference (TYPE) | STRING | `LTD_OAUTH2_CLIENT_DB_ACCESSOR` | 20120604 | |||
| 10 | Constant | Public | Type reference (TYPE) | I | 3600 | 20120320 | |||
| 11 | Constant | Private | Type reference (TYPE) | C | 'B' | 20120403 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | STRING | 20120403 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | OA2_SD_CL | 20120403 | ||||
| 14 | Instance attribute | Private | Type reference (TYPE) | TY_T_CLIENTT | 20120403 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | TY_T_CLIENT_SCOPE | 20120403 | ||||
| 16 | Static Attribute | Private | Type reference (TYPE) | TY_TR_CLIENT | 20120403 | ||||
| 17 | Instance attribute | Private | Type reference (TYPE) | OA2_S_CL_ID | 20120403 | ||||
| 18 | Instance attribute | Private | Attribute reference (LIKE) | SY-MANDT | 20120403 | ||||
| 19 | Instance attribute | Private | Type reference (TYPE) | TY_MODE | 20120403 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | C | 20120403 |
Methods
Events
Class CL_OAUTH2_S_CLIENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_MODE | Public | See coding | 20120320 | ty_mode TYPE c LENGTH 10
|
||
| 2 | TY_SR_CLIENT | Public | See coding | 20111031 | BEGIN OF ty_sr_client,
client_id TYPE oa2_s_cl_id,
r_client TYPE REF TO cl_oauth2_s_client,
END OF ty_sr_client
|
||
| 3 | TY_S_CLIENT_CONFIG | Public | See coding | 20111031 | BEGIN OF ty_s_client_config,
client_type TYPE oa2_s_ct,
gt_samlbearer_is_active TYPE oa2_s_gt_samlbearer_is_active,
gt_samlbearer_oauth_sts TYPE oa2_s_gt_samlbearer_oauth_sts,
gt_samlbearer_idp_name TYPE oa2_s_gt_samlbearer_idp_name,
gt_samlbearer_require_clnt_id TYPE oa2_sg_gt_samlbearer_req_clnt,
client_user TYPE oa2_s_cl_user,
token_lifetime_in_secs TYPE oa2_s_token_lifetime,
client_auth_basic TYPE oa2_s_cl_auth_basic,
client_auth_cert TYPE oa2_s_cl_auth_certificate,
gt_authcode_is_active TYPE oa2_s_gt_authcode_is_active,
gt_authcode_redirecturi TYPE oa2_s_gt_authcode_redirect_uri,
authcode_lifetime type oa2_s_authcode_lifetime,
END OF ty_s_client_config
|
||
| 4 | TY_S_CLIENT_LIST | Public | See coding | 20120320 | BEGIN OF ty_s_client_list,
client_id TYPE oa2_s_cl_id,
client_type TYPE oa2_s_ct,
gt_samlbearer_is_active TYPE oa2_s_gt_samlbearer_is_active,
gt_authcode_is_active TYPE oa2_s_gt_authcode_is_active,
mtext TYPE c LENGTH 40,
END OF ty_s_client_list
|
||
| 5 | TY_TR_CLIENT | Public | See coding | 20111031 | ty_tr_client TYPE STANDARD TABLE OF ty_sr_client
|
||
| 6 | TY_T_CLIENTT | Public | See coding | 20111012 | ty_t_clientt TYPE STANDARD TABLE OF oa2_sd_clt
WITH DEFAULT KEY
|
||
| 7 | TY_T_CLIENT_LIST | Public | See coding | 20120320 | ty_t_client_list TYPE STANDARD TABLE OF ty_s_client_list
|
||
| 8 | TY_T_CLIENT_SCOPE | Public | See coding | 20111012 | ty_t_client_scope TYPE STANDARD TABLE OF OA2_SD_CL_SC WITH DEFAULT KEY
|
||
| 9 | TY_T_SCOPE | Public | Type reference (TYPE) | CL_OAUTH2_S_SCOPE_COLLECTION=>TY_T_SCOPE | 20120326 | |
Method Signatures
Method ASSIGN_MULTIPLE_SCOPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SCOPES | Call by reference | Type reference (TYPE) | TY_T_SCOPE | 20120326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method ASSIGN_SCOPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCOPE | Call by reference | Type reference (TYPE) | OA2_S_SC_ID | OAuth2 Scope ID | 20111012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111021 |
Method CHECK Signature
Method CHECK on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120320 |
Method CHECK_AUTHORITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MODE | Call by reference | Type reference (TYPE) | TY_MODE | 20120403 | ||||
| 2 | I_WITHOUT_AUTHORITY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method CHECK_AUTH_CODE_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AUTHCODE_REDIRECT_URI | Call by reference | Type reference (TYPE) | OA2_S_GT_AUTHCODE_REDIRECT_URI | OAuth 2.0 Grant Type Auth. Code: Redirect URI of the Client | 20121121 | |||
| 2 | I_AUTH_CODE_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121121 | ||||
| 3 | I_AUTH_CODE_LIFETIME | Call by reference | Type reference (TYPE) | OA2_S_AUTHCODE_LIFETIME | OAuth 2.0 Authorization Code Lifetime in seconds | 20121121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20121121 |
Method CHECK_CCC_ALLOWED Signature
Method CHECK_CCC_ALLOWED on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120427 |
Method CHECK_CLIENT_AUTHENTICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BASIC | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120427 | ||||
| 2 | I_CLIENT_CERT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120427 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120427 |
Method CHECK_CLIENT_CRED_USER Signature
Method CHECK_CLIENT_CRED_USER on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111219 |
Method CHECK_CLIENT_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT_DESCRIPTION | Call by reference | Type reference (TYPE) | OA2_SD_CLT-MTEXT | OAuth 2.0 Client Description | 20130102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130102 |
Method CHECK_CLIENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT_TYPE | Call by reference | Type reference (TYPE) | OA2_SD_CL-CLIENT_TYPE | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120320 |
Method CHECK_CLIENT_USER_PWD_STATE Signature
Method CHECK_CLIENT_USER_PWD_STATE on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120419 |
Method CHECK_EXISTS_ON_DB 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 | 20120403 | ||||
| 2 | I_MANDT | Call by reference | Type reference (TYPE) | SY-MANDT | SY-MANDT | 20120403 | |||
| 3 | R_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120403 |
Method CHECK_EXISTS_ON_DB on class CL_OAUTH2_S_CLIENT has no exception.
Method CHECK_LENGTH 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 | 20111118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111118 |
Method CHECK_SAML_OAUTH_IDP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_IDP_KEY | Call by reference | Type reference (TYPE) | OA2_S_GT_SAMLBEARER_OAUTH_STS | 20120403 | ||||
| 2 | I_IDP_NAME | Call by reference | Type reference (TYPE) | OA2_S_GT_SAMLBEARER_IDP_NAME | 20120403 | ||||
| 3 | I_SAML_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120412 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method CHECK_SCOPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCOPE | Call by reference | Type reference (TYPE) | OA2_S_SC_ID | 20120326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120326 |
Method CHECK_TOKEN_LIFETIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TOKEN_LIFETIME | Call by reference | Type reference (TYPE) | OA2_S_TOKEN_LIFETIME | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method CONSTRUCTOR 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 | OAuth2 Client ID | 20111012 | |||
| 2 | I_MANDT | Call by reference | Type reference (TYPE) | SY-MANDT | Client ID of Current User | 20111206 | |||
| 3 | I_MODE | Call by reference | Type reference (TYPE) | TY_MODE | 20120320 | ||||
| 4 | I_WITHOUT_AUTHORITY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120323 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111018 |
Method CREATE 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 | 20120326 | ||||
| 2 | R_R_CLIENT | Value transfer | Object reference (TYPE REF TO) | CL_OAUTH2_S_CLIENT | 20120326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120326 |
Method DB_DELETE Signature
Method DB_DELETE on class CL_OAUTH2_S_CLIENT has no parameter.
Method DB_DELETE on class CL_OAUTH2_S_CLIENT has no exception.
Method DB_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_CLIENT | Call by reference | Type reference (TYPE) | OA2_SD_CL | 20120403 | ||||
| 2 | ET_CLIENTT | Call by reference | Type reference (TYPE) | TY_T_CLIENTT | 20120403 | ||||
| 3 | ET_CLIENT_SCOPE | Call by reference | Type reference (TYPE) | TY_T_CLIENT_SCOPE | 20120403 | ||||
| 4 | I_CLIENT_ID | Call by reference | Type reference (TYPE) | OA2_S_CL_ID | 20120403 | ||||
| 5 | I_LANGU | Call by reference | Type reference (TYPE) | LANG | SY-LANGU | 20120403 | |||
| 6 | I_MANDT | Call by reference | Type reference (TYPE) | SY-MANDT | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method DB_SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WRITE_CD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method DELETE 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 | OAuth2 Client ID | 20120320 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120320 |
Method DELETE_INT Signature
Method DELETE_INT on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120320 |
Method DEQUEUE Signature
Method DEQUEUE on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120326 |
Method DISCARD Signature
Method DISCARD on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120321 |
Method ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WITHOUT_ENQUEUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120326 |
Method GET_CLIENT_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CLIENT_LIST | Call by reference | Type reference (TYPE) | TY_T_CLIENT_LIST | 20120320 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120423 |
Method GET_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DESCRIPTION | Value transfer | Type reference (TYPE) | OA2_SD_CLT-MTEXT | 20120423 | ||||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | 20120423 |
Method GET_DESCRIPTION on class CL_OAUTH2_S_CLIENT has no exception.
Method GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_CLIENT | Call by reference | Type reference (TYPE) | OA2_SD_CL | OAuth2 Client (Server Implementation, Designtime) | 20120314 | |||
| 2 | ET_CLIENTT | Call by reference | Type reference (TYPE) | TY_T_CLIENTT | 20120314 | ||||
| 3 | ET_CLIENT_SCOPE | Call by reference | Type reference (TYPE) | TY_T_CLIENT_SCOPE | 20120314 | ||||
| 4 | ET_CLIENT_SCOPE_S | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_SCOPE_COLLECTION=>TY_T_SCOPE | 20120319 | ||||
| 5 | E_AUTHCODE_LIFETIME | Call by reference | Type reference (TYPE) | OA2_SD_CL-AUTHCODE_LIFETIME | OAuth 2.0 Authorization Code Lifetime in seconds | 20121116 | |||
| 6 | E_CLIENT_ID | Call by reference | Type reference (TYPE) | OA2_S_CL_ID | OAuth2 Client ID | 20120314 | |||
| 7 | E_CLIENT_TYPE | Call by reference | Type reference (TYPE) | OA2_SD_CL-CLIENT_TYPE | OAuth2 Client Type | 20120319 | |||
| 8 | E_CLIENT_USER | Call by reference | Type reference (TYPE) | OA2_SD_CL-CLIENT_USER | OAuth2 Client Username | 20120319 | |||
| 9 | E_IS_AUTH_CODE_ACTIVE | Call by reference | Type reference (TYPE) | OA2_SD_CL-GT_AUTHCODE_IS_ACTIVE | OAuth 2.0 Grant-Type Auth.-Code: Enabled? (Server Impl.) | 20120716 | |||
| 10 | E_IS_SAML_ACTIVE | Call by reference | Type reference (TYPE) | OA2_SD_CL-GT_SAMLBEARER_IS_ACTIVE | Grant Type SAML2 Bearer active? | 20120319 | |||
| 11 | E_MANDT | Call by reference | Type reference (TYPE) | SY-MANDT | 20120403 | ||||
| 12 | E_MODE | Call by reference | Type reference (TYPE) | TY_MODE | 20120320 | ||||
| 13 | E_REDIRECT_URI | Call by reference | Type reference (TYPE) | STRING | 20120710 | ||||
| 14 | E_REQUIRE_CLNT_ID | Call by reference | Type reference (TYPE) | OA2_SG_GT_SAMLBEARER_REQ_CLNT | Require client_id attribute in SAML assertion | 20121022 | |||
| 15 | E_STATE | Call by reference | Type reference (TYPE) | C | 20120314 | ||||
| 16 | E_TOKEN_LIFETIME | Call by reference | Type reference (TYPE) | OA2_SD_CL-TOKEN_LIFETIME_IN_SECS | OAuth2 Access Token Lifetime in Seconds | 20120319 |
Method GET_INFO on class CL_OAUTH2_S_CLIENT has no exception.
Method GET_SAML_OAUTH_IDP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_SAML_OAUTH_IDP | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML20 Entity Object | 20120113 | |||
| 2 | E_SAML_OAUTH_IDP | Call by reference | Type reference (TYPE) | OA2_S_GT_SAMLBEARER_OAUTH_STS | OAuth2 SAML2 Bearer IdP | 20120105 | |||
| 3 | E_SAML_OAUTH_IDP_NAME | Call by reference | Type reference (TYPE) | OA2_S_GT_SAMLBEARER_IDP_NAME | 20120105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120105 |
Method GET_SYSTEM_CLIENT_EDIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_AUTOMATIC_RECORDING | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120503 | ||||
| 2 | E_CCC_ALLOWED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Changes and transports for client-specific objects | 20120503 | |||
| 3 | E_TRANSPORTS_ALLOWED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120503 |
Method INIT Signature
Method INIT on class CL_OAUTH2_S_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120326 |
Method IS_CLIENT_USER_AUTHENTICATED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_IS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120717 |
Method IS_CLIENT_USER_AUTHENTICATED on class CL_OAUTH2_S_CLIENT has no exception.
Method IS_CLIENT_USER_EXISTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_IS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120719 |
Method IS_CLIENT_USER_EXISTING on class CL_OAUTH2_S_CLIENT has no exception.
Method IS_CLIENT_USER_LOGGED_ON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_IS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120719 |
Method IS_CLIENT_USER_LOGGED_ON on class CL_OAUTH2_S_CLIENT has no exception.
Method LOAD 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 | 20111012 | ||||
| 2 | I_MANDT | Call by reference | Type reference (TYPE) | SY-MANDT | SY-MANDT | Client ID of Current User | 20111206 | ||
| 3 | R_R_CLIENT | Value transfer | Object reference (TYPE REF TO) | CL_OAUTH2_S_CLIENT | OAuth2 Client | 20111012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111012 |
Method MAINTAIN 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 | OAuth2 Client ID | 20120315 | |||
| 2 | I_MODE | Call by reference | Type reference (TYPE) | TY_MODE | CL_OAUTH2_S_CLIENT=>C_MODE_EDIT | 20120320 | |||
| 3 | R_R_CLIENT | Value transfer | Object reference (TYPE REF TO) | CL_OAUTH2_S_CLIENT | OAuth2 Client | 20120315 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120315 |
Method REMOVE_ALL_SCOPES Signature
Method REMOVE_ALL_SCOPES on class CL_OAUTH2_S_CLIENT has no parameter.
Method REMOVE_ALL_SCOPES on class CL_OAUTH2_S_CLIENT has no exception.
Method REMOVE_SCOPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCOPE | Call by reference | Type reference (TYPE) | OA2_S_SC_ID | OAuth2 Scope ID | 20111102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120313 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20120503 | |||
| 2 | I_WRITE_CD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111031 |
Method SET_AUTH_CODE_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AUTH_CODE_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121121 | ||||
| 2 | I_AUTH_CODE_LIFETIME | Call by reference | Type reference (TYPE) | OA2_S_AUTHCODE_LIFETIME | OAuth 2.0 Authorization Code Lifetime in seconds | 20121121 | |||
| 3 | I_REDIRECT_URI | Call by reference | Type reference (TYPE) | OA2_S_GT_AUTHCODE_REDIRECT_URI | OAuth 2.0 Grant Type Auth. Code: Redirect URI of the Client | 20121121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20121121 |
Method SET_CLIENT_AUTHENTICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BASIC | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120403 | ||||
| 2 | I_CLIENT_CERT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method SET_CLIENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT_TYPE | Call by reference | Type reference (TYPE) | OA2_S_CT | OAuth2 Client Type | 20111114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111114 |
Method SET_CONFIG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CONFIG | Call by reference | Type reference (TYPE) | TY_S_CLIENT_CONFIG | OAuth2 Client (Server Implementation, Designtime) | 20111013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20111114 |
Method SET_DEFAULTS Signature
Method SET_DEFAULTS on class CL_OAUTH2_S_CLIENT has no parameter.
Method SET_DEFAULTS on class CL_OAUTH2_S_CLIENT has no exception.
Method SET_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DESCRIPTION | Call by reference | Type reference (TYPE) | OA2_SD_CLT-MTEXT | Description | 20111012 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20111012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120320 |
Method SET_SAML_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_IDP_KEY | Call by reference | Type reference (TYPE) | OA2_S_GT_SAMLBEARER_OAUTH_STS | 20120403 | ||||
| 2 | I_IDP_NAME | Call by reference | Type reference (TYPE) | OA2_S_GT_SAMLBEARER_IDP_NAME | 20120403 | ||||
| 3 | I_REQUIRE_CLNT_ID | Call by reference | Type reference (TYPE) | OA2_SG_GT_SAMLBEARER_REQ_CLNT | 20121024 | ||||
| 4 | I_SAML_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method SET_TOKEN_LIFETIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TOKEN_LIFETIME | Call by reference | Type reference (TYPE) | OA2_S_TOKEN_LIFETIME | 20120403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120403 |
Method SWITCH_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MODE | Call by reference | Type reference (TYPE) | TY_MODE | 20120326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120320 |
Method TRANSPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NO_POPUP | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20120503 | |||
| 2 | I_TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20120503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth2 Exception | 20120503 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |