SAP ABAP Interface IF_REST_CSRF_HANDLER (REST CSRF Token Handler)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SREST_HTTP (Package) REST HTTP Adapter
⤷
⤷
Properties
| Interface | IF_REST_CSRF_HANDLER | |
| Short Description | REST CSRF Token Handler |
General Data
| Package | SREST_HTTP | REST HTTP Adapter |
| Created | 20111214 | SAP |
| Last changed | 20130531 | SAP |
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Interface IF_REST_CSRF_HANDLER has no interface.
Friends
Interface IF_REST_CSRF_HANDLER has no friend.
Attributes
Interface IF_REST_CSRF_HANDLER has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Get CSRF token | 20111214 | |
| 2 | Instance method | Public | Method | Validate CSRF token | 20111214 |
Events
Interface IF_REST_CSRF_HANDLER has no event.
Types
Interface IF_REST_CSRF_HANDLER has no local type.
Method Signatures
Method GET_CSRF_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CSRF_TOKEN | Value transfer | Type reference (TYPE) | STRING | 20111214 |
Method GET_CSRF_TOKEN on Interface IF_REST_CSRF_HANDLER has no exception.
Method VALIDATE_CSRF_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CSRF_TOKEN | Call by reference | Type reference (TYPE) | STRING | CSRF token | 20111214 | |||
| 2 | RV_SUCCESSFUL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Validation Successful | 20111214 |
Method VALIDATE_CSRF_TOKEN on Interface IF_REST_CSRF_HANDLER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 804 |