/AWS1/CL_BDCOAUTH2AUTHNTCTN¶
OAuth2 authentication information for third-party providers.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_sub TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING¶
The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.
Optional arguments:¶
iv_emailaddress TYPE /AWS1/BDCEMAIL /AWS1/BDCEMAIL¶
The email address from the OAuth2 provider.
iv_name TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING¶
The user's name from the OAuth2 provider.
iv_username TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING¶
The username from the OAuth2 provider.
Queryable Attributes¶
sub¶
The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUB() |
Getter for SUB, with configurable default |
ASK_SUB() |
Getter for SUB w/ exceptions if field has no value |
HAS_SUB() |
Determine if SUB has a value |
emailAddress¶
The email address from the OAuth2 provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EMAILADDRESS() |
Getter for EMAILADDRESS, with configurable default |
ASK_EMAILADDRESS() |
Getter for EMAILADDRESS w/ exceptions if field has no value |
HAS_EMAILADDRESS() |
Determine if EMAILADDRESS has a value |
name¶
The user's name from the OAuth2 provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
username¶
The username from the OAuth2 provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_USERNAME() |
Getter for USERNAME, with configurable default |
ASK_USERNAME() |
Getter for USERNAME w/ exceptions if field has no value |
HAS_USERNAME() |
Determine if USERNAME has a value |