SAP ABAP Class IF_OAUTH2 (OAuth2)
Properties
| Class | IF_OAUTH2 | |
| Short Description | OAuth2 | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20110823 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class IF_OAUTH2 has no forward declaration.
Interfaces
Class IF_OAUTH2 has no interface implemented.
Friends
Class IF_OAUTH2 has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | `Bearer` | 20110823 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | `access_token` | 20110823 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | `expires_in` | 20110823 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | `refresh_token` | 20110823 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | `scope` | 20110823 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | `token_type` | 20110823 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | `urn:ietf:params:oauth:client-assertion-type:saml2-bearer` | 20111116 | |||
| 8 | Constant | Public | Type reference (TYPE) | OA2_S_CT | 'C' | OAuth2 Client Type | 20111114 | ||
| 9 | Constant | Public | Type reference (TYPE) | OA2_S_CT | 'P' | OAuth2 Client Type | 20111114 | ||
| 10 | Constant | Public | Type reference (TYPE) | I | 3600 | 20111026 | |||
| 11 | Constant | Public | Type reference (TYPE) | ENQMODE | 'E' | Lock mode | 20111031 | ||
| 12 | Constant | Public | Type reference (TYPE) | ENQMODE | 'S' | Lock mode | 20111031 | ||
| 13 | Constant | Public | Type reference (TYPE) | STRING | `access_denied` | 20120824 | |||
| 14 | Constant | Public | Type reference (TYPE) | STRING | `authentication_failed` | 20120209 | |||
| 15 | Constant | Public | Type reference (TYPE) | STRING | `insufficient_scope` | 20111021 | |||
| 16 | Constant | Public | Type reference (TYPE) | STRING | `invalid_client` | 20110823 | |||
| 17 | Constant | Public | Type reference (TYPE) | STRING | `invalid_grant` | 20110823 | |||
| 18 | Constant | Public | Type reference (TYPE) | STRING | `invalid_request` | 20110823 | |||
| 19 | Constant | Public | Type reference (TYPE) | STRING | `invalid_scope` | 20110823 | |||
| 20 | Constant | Public | Type reference (TYPE) | STRING | `invalid_token` | 20111021 | |||
| 21 | Constant | Public | Type reference (TYPE) | STRING | `scope_check_impossible` | 20111117 | |||
| 22 | Constant | Public | Type reference (TYPE) | STRING | 'invalid_request' | 20120116 | |||
| 23 | Constant | Public | Type reference (TYPE) | STRING | `unauthorized_client` | 20110823 | |||
| 24 | Constant | Public | Type reference (TYPE) | STRING | `unsupported_grant_type` | 20110823 | |||
| 25 | Constant | Public | Type reference (TYPE) | STRING | `authorization_code` | 20110823 | |||
| 26 | Constant | Public | Type reference (TYPE) | STRING | `client_credentials` | 20110823 | |||
| 27 | Constant | Public | Type reference (TYPE) | STRING | `password` | 20110823 | |||
| 28 | Constant | Public | Type reference (TYPE) | STRING | `urn:ietf:params:oauth:grant-type:saml2-bearer` | 20110823 | |||
| 29 | Constant | Public | Type reference (TYPE) | STRING | `SAML2-Bearer` | 20120522 | |||
| 30 | Constant | Public | Type reference (TYPE) | STRING | `Authorization` | 20111129 | |||
| 31 | Constant | Public | Type reference (TYPE) | I | 400 | 20111124 | |||
| 32 | Constant | Public | Type reference (TYPE) | I | 500 | 20111026 | |||
| 33 | Constant | Public | Type reference (TYPE) | STRING | `BASIC` | 20120410 | |||
| 34 | Constant | Public | Type reference (TYPE) | STRING | `CERTIFICATE` | 20120410 | |||
| 35 | Constant | Public | Type reference (TYPE) | X | 8 | 20120124 | |||
| 36 | Constant | Public | Type reference (TYPE) | SY-MSGID | 'SOAUTH2' | Message Class | 20120405 | ||
| 37 | Constant | Public | Type reference (TYPE) | TROBJTYPE | 'OA2S' | Object Name in Object Directory | 20120327 | ||
| 38 | Constant | Public | Type reference (TYPE) | STRING | `assertion` | 20110823 | |||
| 39 | Constant | Public | Type reference (TYPE) | STRING | `client_assertion` | 20111116 | |||
| 40 | Constant | Public | Type reference (TYPE) | STRING | `client_assertion_type` | 20111116 | |||
| 41 | Constant | Public | Type reference (TYPE) | STRING | `client_id` | 20110823 | |||
| 42 | Constant | Public | Type reference (TYPE) | STRING | `code` | 20120723 | |||
| 43 | Constant | Public | Type reference (TYPE) | STRING | `error` | 20110823 | |||
| 44 | Constant | Public | Type reference (TYPE) | STRING | `error_description` | 20110823 | |||
| 45 | Constant | Public | Type reference (TYPE) | STRING | `error_uri` | 20110823 | |||
| 46 | Constant | Public | Type reference (TYPE) | STRING | `grant_type` | 20110823 | |||
| 47 | Constant | Public | Type reference (TYPE) | STRING | `redirect_uri` | 20120716 | |||
| 48 | Constant | Public | Type reference (TYPE) | STRING | `response_type` | 20121105 | |||
| 49 | Constant | Public | Type reference (TYPE) | STRING | `scope` | 20110823 | |||
| 50 | Constant | Public | Type reference (TYPE) | STRING | `state` | 20120716 | |||
| 51 | Constant | Public | Type reference (TYPE) | STRING | `internal_error` | 20111031 |
Methods
Class IF_OAUTH2 has no method.
Events
Class IF_OAUTH2 has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_ACCESS_TOKEN | Public | See coding | 20110823 | BEGIN OF ty_s_access_token,
access_token TYPE string,
token_type TYPE string,
expires_in TYPE i,
refresh_token TYPE string,
END OF ty_s_access_token
|
||
| 2 | TY_S_ERROR | Public | See coding | 20110823 | BEGIN OF ty_s_error,
error TYPE string,
error_description TYPE string,
error_uri TYPE string,
END OF ty_s_error
|
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |