SAP ABAP Class IF_OAUTH2_CLIENT (OAuth 2.0 Client)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_OA2C_CLIENT | OAuth 2.0 Client | 20130417 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_OAUTH2_CLIENT | OAuth 2.0 Client | 20130417 |
Properties
| Class | IF_OAUTH2_CLIENT | |
| Short Description | OAuth 2.0 Client | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20130417 | SAP |
| Last change | 20140121 | 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) |
Interfaces
Class IF_OAUTH2_CLIENT has no interface implemented.
Friends
Class IF_OAUTH2_CLIENT has no friend class.
Attributes
Class IF_OAUTH2_CLIENT has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check HTTP-Response for OAuth 2.0-Server-Error | 20130417 | |
| 2 | Instance method | Public | Method | Execute Refresh Flow | 20130417 | |
| 3 | Instance method | Public | Method | Execute SAML 2.0 Flow | 20130417 | |
| 4 | Instance method | Public | Method | Set Authorization Header in HTTP-Client | 20130417 |
Events
Class IF_OAUTH2_CLIENT has no event.
Types
Class IF_OAUTH2_CLIENT has no local type.
Method Signatures
Method CHECK_ERROR_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_HTTP_CLIENT | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_CLIENT | HTTP Client Abstraction | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth 2.0 Client - Insufficient Scope Exception | 20130418 | ||
| 2 | OAuth 2.0 Client - Invalid Request Exception | 20130418 | ||
| 3 | OAuth 2.0 Client - Invalid Token Exception | 20130418 |
Method EXECUTE_REFRESH_FLOW Signature
Method EXECUTE_REFRESH_FLOW on class IF_OAUTH2_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth 2.0 Client BAdI Impl. Error | 20130627 | ||
| 2 | OAuth 2.0 Client - Invalid Client Exception | 20130419 | ||
| 3 | OAuth 2.0 Client - Invalid Grant Exception | 20130419 | ||
| 4 | OAuth 2.0 Client - Invalid Request Exception | 20130419 | ||
| 5 | OAuth 2.0 Client - Invalid Scope Exception | 20130419 | ||
| 6 | OAuth 2.0 Client - Not Allowed Exception | 20130419 | ||
| 7 | OAuth 2.0 Client - Not Supported Exception | 20130627 | ||
| 8 | OAuth 2.0 Client - Protocol Exception | 20130628 | ||
| 9 | OAuth 2.0 Client - Unauthorized Client Exception | 20130419 | ||
| 10 | OAuth 2.0 Client - Unsupported Response Type Exception | 20130419 |
Method EXECUTE_SAML20_FLOW Signature
Method EXECUTE_SAML20_FLOW on class IF_OAUTH2_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OAuth 2.0 Client - Invalid Client Exception | 20130419 | ||
| 2 | OAuth 2.0 Client - Invalid Grant Exception | 20130419 | ||
| 3 | OAuth 2.0 Client - Invalid Request Exception | 20130419 | ||
| 4 | OAuth 2.0 Client - Invalid Scope Exception | 20130419 | ||
| 5 | OAuth 2.0 Client - Not Allowed Exception | 20130419 | ||
| 6 | OAuth 2.0 Client - Not Supported Exception | 20130419 | ||
| 7 | OAuth 2.0 Client - Unauthorized Client Exception | 20130419 | ||
| 8 | OAuth 2.0 Client - Unsupported Response Type Exception | 20130419 |
Method SET_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_HTTP_CLIENT | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_CLIENT | HTTP Client Abstraction | 20130417 |
Method SET_TOKEN on class IF_OAUTH2_CLIENT has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |