SAP ABAP Class CL_OAUTH2_S_AUTH_CONTEXT (OAuth2 Server Context (Server Impl.))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC (Application Component) Security
⤷
SOAUTH2_AUTH_CODE (Package) OAuth 2.0 Authorization Code

⤷

⤷

Properties
Class | CL_OAUTH2_S_AUTH_CONTEXT | |
Short Description | OAuth2 Server Context (Server Impl.) | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SOAUTH2_AUTH_CODE | OAuth 2.0 Authorization Code |
Created | 20120709 | 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_AUTH_CONTEXT has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_OAUTH2_S_CONTEXT | 20121109 | OAuth2 Server Context (Server Impl.) | |
2 | CL_OAUTH2_S_PROT_AUTH_CODE | 20120723 | OAuth 2.0 Protocol Authorization Grant Type | |
3 | CL_OAUTH2_S_TOKEN_MANAGER | 20121211 | OAuth 2.0 Token Manager |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | I | 60 | 20120709 | ||
2 | ![]() |
Constant | Private | Type reference (TYPE) | I | 20 | 20120710 | ||
3 | ![]() |
Constant | Private | Type reference (TYPE) | I | 16 | 20120710 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | OA2_SR_A_CTX | 20121109 | |||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TY_T_OA2_AC_SCOPE | 20121109 | |||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | STRING | 20121109 | |||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | OA2_S_AUTH_CONTEXT_ID | OAuth 2.0 Authorization Code Context ID | 20121109 |
Methods
Events
Class CL_OAUTH2_S_AUTH_CONTEXT has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_T_OA2_AC_SCOPE | Private | See coding | 20120710 | ty_t_oa2_ac_scope TYPE STANDARD TABLE OF oa2_sr_a_ctx_sc
|
Method Signatures
Method BUILD_WHERE_CONDITION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_NOT_APPLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130104 | |||
2 | ![]() |
E_WHERE_CONDITION | Call by reference | Type reference (TYPE) | STRING | 20130104 | |||
3 | ![]() |
IS_REVOCATION | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_TOKEN_MANAGER=>TY_S_REVOCATION | 20130104 | |||
4 | ![]() |
I_TOKEN_TYPE | Call by reference | Type reference (TYPE) | I | 20130104 |
Method BUILD_WHERE_CONDITION on class CL_OAUTH2_S_AUTH_CONTEXT has no exception.
Method CONVERT_AUTHORIZATION_CODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AUTHORIZATION_CODE | Call by reference | Type reference (TYPE) | STRING | 20120709 | |||
2 | ![]() |
R_AUTH_CODE_CONTEXT_ID | Value transfer | Type reference (TYPE) | OA2_S_AUTH_CONTEXT_ID | 20120710 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120710 |
Method CONVERT_B64URL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AUTHORIZATION_CODE_X | Call by reference | Type reference (TYPE) | XSTRING | 20120709 | |||
2 | ![]() |
R_AUTHORIZATION_CODE | Value transfer | Type reference (TYPE) | STRING | 20120709 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120709 |
Method CONVERT_RANDOM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_RANDOM | Call by reference | Type reference (TYPE) | XSTRING | 20120709 | |||
2 | ![]() |
R_RANDOM_HASH | Value transfer | Type reference (TYPE) | XSTRING | 20120709 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
OAuth2 Exception | 20120709 |
Method CREATE 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) | CL_OAUTH2_S_CLIENT | OAuth2 Client | 20120710 | ||
2 | ![]() |
IR_SCOPE_COLLECTION | Call by reference | Object reference (TYPE REF TO) | CL_OAUTH2_S_SCOPE_COLLECTION | OAuth2 Scope Collection | 20120709 | ||
3 | ![]() |
I_EXPIRES_IN | Call by reference | Type reference (TYPE) | I | 20120709 | |||
4 | ![]() |
I_REDIRECT_URI | Call by reference | Type reference (TYPE) | STRING | 20120710 | |||
5 | ![]() |
I_RO_USER | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20120709 | ||
6 | ![]() |
R_R_AUTHORIZATION_CODE | Value transfer | Object reference (TYPE REF TO) | CL_OAUTH2_S_AUTH_CONTEXT | 20120709 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
OAuth2 Exception | 20120709 |
Method DB_DELETE Signature
Method DB_DELETE on class CL_OAUTH2_S_AUTH_CONTEXT has no parameter.
Method DB_DELETE on class CL_OAUTH2_S_AUTH_CONTEXT has no exception.
Method DB_READ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AUTH_CODE_CONTEXT_ID | Call by reference | Type reference (TYPE) | OA2_S_AUTH_CONTEXT_ID | 20120710 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120710 |
Method DB_SAVE Signature
Method DB_SAVE on class CL_OAUTH2_S_AUTH_CONTEXT has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
OAuth2 Exception | 20120709 |
Method DECODE_B64URL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AUTHORIZATION_CODE | Call by reference | Type reference (TYPE) | STRING | 20120709 | |||
2 | ![]() |
R_AUTHORIZATION_CODE_X | Value transfer | Type reference (TYPE) | XSTRING | 20120709 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120709 |
Method GENERATE 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) | CL_OAUTH2_S_CLIENT | OAuth2 Client | 20120710 | ||
2 | ![]() |
IR_SCOPE_COLLECTION | Call by reference | Object reference (TYPE REF TO) | CL_OAUTH2_S_SCOPE_COLLECTION | OAuth2 Scope Collection | 20120709 | ||
3 | ![]() |
I_EXPIRES_IN | Call by reference | Type reference (TYPE) | I | 20120709 | |||
4 | ![]() |
I_REDIRECT_URI | Call by reference | Type reference (TYPE) | STRING | 20120710 | |||
5 | ![]() |
I_RO_USER | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20120709 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
OAuth2 Exception | 20120709 |
Method GENERATE_AUTH_CODE_PARTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_RANDOM | Call by reference | Type reference (TYPE) | XSTRING | 20120710 | |||
2 | ![]() |
E_UUID | Call by reference | Type reference (TYPE) | SYSUUID_X16 | 20120710 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120710 |
Method GET_AUTHORIZATION_CODE_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_OA2_AC | Call by reference | Type reference (TYPE) | OA2_SR_A_CTX | 20120710 | |||
2 | ![]() |
ET_OA2_AC_SCOPE | Call by reference | Type reference (TYPE) | TY_T_OA2_AC_SCOPE | 20120710 | |||
3 | ![]() |
E_AUTH_CODE_B64URL | Call by reference | Type reference (TYPE) | STRING | 20121109 | |||
4 | ![]() |
E_AUTH_CODE_CONTEXT | Call by reference | Type reference (TYPE) | OA2_S_AUTH_CONTEXT_ID | OAuth 2.0 Authorization Code Context ID | 20121109 |
Method GET_AUTHORIZATION_CODE_CONTEXT on class CL_OAUTH2_S_AUTH_CONTEXT has no exception.
Method INIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AUTHORIZATION_CODE | Call by reference | Type reference (TYPE) | STRING | 20121109 | |||
2 | ![]() |
R_R_AUTHORIZATION_CODE | Value transfer | Object reference (TYPE REF TO) | CL_OAUTH2_S_AUTH_CONTEXT | 20121109 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20121109 |
Method LOAD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AUTHORIZATION_CODE | Call by reference | Type reference (TYPE) | STRING | 20120709 | |||
2 | ![]() |
R_R_AUTHORIZATION_CODE | Value transfer | Object reference (TYPE REF TO) | CL_OAUTH2_S_AUTH_CONTEXT | 20120709 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120710 |
Method READ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AUTHORIZATION_CODE | Call by reference | Type reference (TYPE) | STRING | 20120709 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120710 |
Method READ_CONTEXT_ASSIGNED_SCOPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_ASSIGNED_CONTEXTS | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_TOKEN_MANAGER=>TY_T_ASSIGNED_SCOPES | OAuth 2.0 Token Manager | 20121221 | ||
2 | ![]() |
I_CONTEXT_ID | Call by reference | Type reference (TYPE) | OA2_S_CONTEXT_ID | OAuth 2.0 ServerContext ID | 20121221 |
Method READ_CONTEXT_ASSIGNED_SCOPES on class CL_OAUTH2_S_AUTH_CONTEXT has no exception.
Method READ_MULTI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_TOKEN | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_TOKEN_MANAGER=>TY_T_TOKEN | 20121213 | |||
2 | ![]() |
IT_REVOCATION | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_TOKEN_MANAGER=>TY_T_REVOCATION | 20121213 | |||
3 | ![]() |
I_READ_ALL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20121216 |
Method READ_MULTI on class CL_OAUTH2_S_AUTH_CONTEXT has no exception.
Method REVOKE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_REVOCATION | Call by reference | Type reference (TYPE) | CL_OAUTH2_S_TOKEN_MANAGER=>TY_T_REVOCATION | 20121211 |
Method REVOKE on class CL_OAUTH2_S_AUTH_CONTEXT has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 740 |