ERP/3.0/Developers Guide/Database Model/org.openbravo.model.authentication/C Auth Provider Oauth2
Contents |
C_Auth_Provider_Oauth2
- Name:C_Auth_Provider_Oauth2
- Classname:OAuth2AuthenticationProvider
This table contains the following columns:
Name | Nullable | Data Type | Description
|
Access_Token_Url | No | VARCHAR (255) | The URL to request the OAuth 2.0 access token |
Isactive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
Auth_Server_Url | No | VARCHAR (255) | The URL of the server to request for the authentication |
C_Auth_Provider_ID | No | VARCHAR (32) | References a configuration of an external authentication provider. These providers are used to externalize the verification of credentials to login in the application. |
C_Auth_Provider_Oauth2_ID | No | VARCHAR (32) | References a configuration of an external authentication provider based in OAuth 2.0 |
Certificate_URL | No | VARCHAR (255) | The URL where the certificates required for the ID token verification can be requested. The supported certificate types that can be retrieved through this URL are:
- X.509 in ASCII PEM format - JSON Web Key (JWK) In both cases the RSA (key type) algorithm is used to extract the public keys. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Client_Identifier | No | VARCHAR (255) | Identifies the client application making a request to the OAuth 2.0 authorization server. The client identifier is typically assigned by the authorization server when the client application is registered and is unique to the authorization server. |
Client_Secret | No | VARCHAR (255) | A confidential identifier known only to the client application and the OAuth 2.0 authorization server. It is used to authenticate the client application when making requests to the authorization server to obtain an access token |
Createdby | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
Updatedby | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
Columns
Access Token URL
- Physical column name: Access_Token_Url
- Property Name: accessTokenURL
- Reference: String
Active
- Physical column name: Isactive
- Property Name: active
- Reference: YesNo
- Default value: Y
Authorization URL
- Physical column name: Auth_Server_Url
- Property Name: authorizationURL
- Reference: String
C_Auth_Provider_ID
- Physical column name: C_Auth_Provider_ID
- Property Name: authProvider
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to C_Auth_Provider table, (column: C_Auth_Provider_ID)
C_Auth_Provider_Oauth2_ID
- Physical column name: C_Auth_Provider_Oauth2_ID
- Property Name: id
- Reference: ID
Certificate URL
- Physical column name: Certificate_URL
- Property Name: certificateURL
- Reference: String
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Client ID
- Physical column name: Client_Identifier
- Property Name: clientID
- Reference: String
- This column is part of the table's identifier
Client Secret
- Physical column name: Client_Secret
- Property Name: clientSecret
- Reference: Password (decryptable)
Created By
- Physical column name: Createdby
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: Updatedby
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- C_AUTH_PROVIDER_OAUTH2_PR Not Unique. Columns:
- C_AUTH_PROVIDER_ID
- C_AUTH_PROVIDER_OAUTH2_UN_PR Unique. Columns:
- C_AUTH_PROVIDER_ID
- ISACTIVE
Check Constraints
These are the check constraints for this table:
- C_AUTH_PROVIDER_OAUTH2_ACTIVE: ISACTIVE IN ('Y', 'N')