Table 1140 "OAuth 2.0 Setup"
Base Application · System.Security.Authentication
Across versions
- BC23present
- BC242 procedures changed, 2 procedures added
- BC25-26unchanged
- BC2710 procedures removed, 2 procedures changed
- BC28-30unchanged
Neighbourhood 1 connected objects and pages
Base Application · System.Security.Authentication · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | OAuth 2.0 Setup |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code | Code[20] | — | NotBlank |
| 2 | Description | Text[250] | Specifies the description. via Page 1140 “OAuth 2.0 Setup” | |
| 3 | Service URL | Text[250] | Specifies the service URL. via Page 1140 “OAuth 2.0 Setup” | |
| 4 | Redirect URL | Text[250] | Specifies the redirect URL. via Page 1140 “OAuth 2.0 Setup” | |
| 5 | Client ID | Guid | — | DataClassification EndUserIdentifiableInformation |
| 6 | Client Secret | Guid | — | DataClassification EndUserIdentifiableInformation |
| 7 | Access Token | Guid | — | DataClassification EndUserIdentifiableInformation |
| 8 | Refresh Token | Guid | — | DataClassification EndUserIdentifiableInformation |
| 9 | Authorization URL Path | Text[250] | Specifies the authorization URL path. via Page 1140 “OAuth 2.0 Setup” | |
| 10 | Access Token URL Path | Text[250] | Specifies the access token URL path. via Page 1140 “OAuth 2.0 Setup” | |
| 11 | Refresh Token URL Path | Text[250] | Specifies the refresh token URL path. via Page 1140 “OAuth 2.0 Setup” | |
| 12 | Scope | Text[250] | Specifies the scope. via Page 1140 “OAuth 2.0 Setup” | |
| 13 | Authorization Response Type | Text[250] | — | |
| 14 | Status | Option | — | OptionCaption: ,Enabled,Disabled,Connected,Error |
| 15 | Token DataScope | Option | — | OptionCaption: Module,User,Company,UserAndCompany |
| 16 | Activity Log ID | Integer | — | |
| 17 | Daily Limit | Integer | — | not editable |
| 18 | Daily Count | Integer | — | not editable |
| 19 | Latest Datetime | DateTime | — | not editable |
| 20 | Access Token Due DateTime | DateTime | — | not editable |
| 21 | Feature GUID | Guid | — | not editable |
| 22 | User ID | Code[50] | — | TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation |
| 50 | Code Challenge Method | Enum “OAuth 2.0 Code Challenge” | — | enum Enum 1140 “OAuth 2.0 Code Challenge” |
| 51 | Code Verifier | Guid | — | |
| 52 | Use Nonce | Boolean | — |
Keys
- Key1: Code (clustered)
Events published
OnAfterRequestAccessToken(OAuth20Setup: Record "OAuth 2.0 Setup"; Result: Boolean; var MessageText: Text)(integration)OnBeforeRequestAuthoizationCode(OAuth20Setup: Record "OAuth 2.0 Setup"; var Processed: Boolean)(integration)OnBeforeRefreshAccessToken(var OAuth20Setup: Record "OAuth 2.0 Setup"; var Result: Boolean; var MessageText: Text; var Processed: Boolean)(integration)OnBeforeRequestAccessToken(var OAuth20Setup: Record "OAuth 2.0 Setup"; AuthorizationCode: Text; var Result: Boolean; var MessageText: Text; var Processed: Boolean)(integration)OnBeforeInvokeRequest(var OAuth20Setup: Record "OAuth 2.0 Setup"; RequestJSON: Text; var ResponseJSON: Text; var HttpError: Text; var Result: Boolean; var Processed: Boolean; RetryOnCredentialsFailure: Boolean)(integration)
Procedures
GetTokenDataScope(): DataScopeΔ BC27FindSetOAuth20SetupByFeature(FeatureGUID: Guid): BooleanΔ BC27FindFirstOAuth20SetupByFeatureAndCurrUser(FeatureGUID: Guid): BooleanFindFirstOAuth20SetupByFeatureAndUser(FeatureGUID: Guid; OAuthUserID: Code[50]): Boolean
Plus 1 local procedures.
Triggers
OnDelete
Pages and codeunits on this table
- Page 1140 “OAuth 2.0 Setup” (source table)
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "OAuth 2.0 Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.