SAP ABAP Class CL_CLB_OAUTH (SAIL: oAuth Helper)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-STW (Application Component) Social Media ABAP Integration Library
⤷
S_CLB_CONNECT (Package) Connectivity Layer of the Collaboration Platform Library

⤷

⤷

Properties
Class | CL_CLB_OAUTH | |
Short Description | SAIL: oAuth Helper | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_CLB_CONNECT | Connectivity Layer of the Collaboration Platform Library |
Created | 20110805 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_CLB_OAUTH has no forward declaration.
Interfaces
Class CL_CLB_OAUTH has no interface implemented.
Friends
Class CL_CLB_OAUTH has no friend class.
Attributes
Class CL_CLB_OAUTH has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Set oAuth w/ SAMLResponse into body | 20111212 |
2 | ![]() |
Instance method | Public | Method | Get a HMAC signature | 20111212 |
3 | ![]() |
Instance method | Public | Method | Get a PLAINTEXT signature for calls w/o user context | 20111212 |
4 | ![]() |
Instance method | Public | Method | Get an RSA-SHA1 signature for calls w/o user context | 20111212 |
5 | ![]() |
Instance method | Public | Method | Get an RSA-SHA1 signature for calls w/o user context | 20111212 |
6 | ![]() |
Instance method | Public | Method | Enable oAuth method with HTTP client | 20110805 |
7 | ![]() |
Instance method | Protected | Method | Encrypt the signature | 20110805 |
Events
Class CL_CLB_OAUTH has no event.
Types
Class CL_CLB_OAUTH has no local type.
Method Signatures
Method GET_AUTH_BODY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_PARAMS | Call by reference | Type reference (TYPE) | TIHTTPNVP | HTTP Framework (iHTTP) Table Name/Value Pairs | 20111212 | ||
2 | ![]() |
RV_XBODY | Value transfer | Type reference (TYPE) | XSTRING | HTTP client Body | 20111212 |
Method GET_AUTH_BODY on class CL_CLB_OAUTH has no exception.
Method GET_HMAC_SIGNATURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ALGORITHM | Call by reference | Type reference (TYPE) | STRING | 'SHA1' | 20111212 | ||
2 | ![]() |
IV_PLAINTEXT_SIG | Call by reference | Type reference (TYPE) | STRING | PLAINTEXT signature | 20111212 | ||
3 | ![]() |
IV_SIG_BASE_STRING | Call by reference | Type reference (TYPE) | STRING | Signature base string | 20111212 | ||
4 | ![]() |
RV_SIGNATURE | Value transfer | Type reference (TYPE) | STRING | Signature, not escaped | 20111212 |
Method GET_HMAC_SIGNATURE on class CL_CLB_OAUTH has no exception.
Method GET_PT_SIGNATURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CONSUMER_SECRET | Call by reference | Type reference (TYPE) | STRING | Key of the administrative application | 20111212 | ||
2 | ![]() |
IV_TOKEN_SECRET | Call by reference | Type reference (TYPE) | STRING | Nonce value | 20111212 | ||
3 | ![]() |
RV_SIGNATURE | Value transfer | Type reference (TYPE) | STRING | Signed signature | 20111212 |
Method GET_PT_SIGNATURE on class CL_CLB_OAUTH has no exception.
Method GET_SHA1_SIGNATURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SIGNATURE | Call by reference | Type reference (TYPE) | STRING | Signed signature | 20111212 | ||
2 | ![]() |
E_UNIX_TIMESTAMP | Call by reference | Type reference (TYPE) | STRING | Unix conform timestamp used to create the signature | 20111212 | ||
3 | ![]() |
I_CONSUMER_KEY | Call by reference | Type reference (TYPE) | CLB_CONSUMER_KEY | Key of the administrative application | 20111212 | ||
4 | ![]() |
I_DESTINATION_URL | Call by reference | Type reference (TYPE) | STRING | Target of the signature | 20111212 | ||
5 | ![]() |
I_METHOD | Call by reference | Type reference (TYPE) | CLB_REQUEST_METHOD | IF_CLB_CONSTANTS=>GC_REQUEST_METHOD-POST | Communication method | 20111212 | |
6 | ![]() |
I_NAME1 | Call by reference | Type reference (TYPE) | STRING | 20111212 | |||
7 | ![]() |
I_NAME2 | Call by reference | Type reference (TYPE) | STRING | 20111212 | |||
8 | ![]() |
I_NONCE | Call by reference | Type reference (TYPE) | STRING | Nonce value | 20111212 | ||
9 | ![]() |
I_SSFAPPL | Call by reference | Type reference (TYPE) | SSFAPPL | SSF Application | 20111212 | ||
10 | ![]() |
I_VALUE1 | Call by reference | Type reference (TYPE) | STRING | 20111212 | |||
11 | ![]() |
I_VALUE2 | Call by reference | Type reference (TYPE) | STRING | 20111212 |
Method GET_SHA1_SIGNATURE on class CL_CLB_OAUTH has no exception.
Method GET_SHA1_SIGNATURE_T Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SIGNATURE | Call by reference | Type reference (TYPE) | STRING | Signed signature | 20111212 | ||
2 | ![]() |
E_UNIX_TIMESTAMP | Call by reference | Type reference (TYPE) | STRING | Unix conform timestamp used to create the signature | 20111212 | ||
3 | ![]() |
E_UNSIG_SIGNATURE | Call by reference | Type reference (TYPE) | STRING | Unsigned signature | 20111212 | ||
4 | ![]() |
IT_PARAMS | Call by reference | Type reference (TYPE) | TIHTTPNVP | HTTP Framework (iHTTP) Table Name/Value Pairs | 20111212 | ||
5 | ![]() |
I_DESTINATION_URL | Call by reference | Type reference (TYPE) | STRING | Target of the signature | 20111212 | ||
6 | ![]() |
I_METHOD | Call by reference | Type reference (TYPE) | CLB_REQUEST_METHOD | IF_CLB_CONSTANTS=>GC_REQUEST_METHOD-POST | Communication method | 20111212 | |
7 | ![]() |
I_NAME1 | Call by reference | Type reference (TYPE) | STRING | 20111212 | |||
8 | ![]() |
I_NAME2 | Call by reference | Type reference (TYPE) | STRING | 20111212 | |||
9 | ![]() |
I_SSFAPPL | Call by reference | Type reference (TYPE) | SSFAPPL | SSF Application | 20111212 | ||
10 | ![]() |
I_VALUE1 | Call by reference | Type reference (TYPE) | STRING | 20111212 | |||
11 | ![]() |
I_VALUE2 | Call by reference | Type reference (TYPE) | STRING | 20111212 |
Method GET_SHA1_SIGNATURE_T on class CL_CLB_OAUTH has no exception.
Method SET_HTTP_HEADER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_CLIENT | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_CLIENT | HTTP Client Abstraction | 20110905 | ||
2 | ![]() |
IT_PARAMS | Call by reference | Type reference (TYPE) | TIHTTPNVP | HTTP Framework (iHTTP) Table Name/Value Pairs | 20110805 |
Method SET_HTTP_HEADER on class CL_CLB_OAUTH has no exception.
Method SIGN_SIGNATURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SIGNATURE | Call by reference | Type reference (TYPE) | STRING | Plain signature | 20110805 | ||
2 | ![]() |
I_SSFAPPL | Call by reference | Type reference (TYPE) | SSFAPPL | SSF Application | 20110805 | ||
3 | ![]() |
R_SIGNED_DATA | Value transfer | Type reference (TYPE) | STRING | Encrypted signature ready to use | 20110805 |
Method SIGN_SIGNATURE on class CL_CLB_OAUTH has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 732 |