Table | cm_oauth2_servers |
---|---|
Description | OAuth2 Servers |
Column | Format | Description | Definition | Comments |
---|---|---|---|---|
id | integer, primary key | Row identifier | autoincrement | |
server_id | integer, foreign key | Server ID | cm_servers:id | |
serverurl | varchar(256) | OAuth2 Server endpoint | Endpoint to OAuth2 services | |
clientid | varchar(120) | OAuth2 Client ID | ||
client_secret | varchar(80) | OAuth2 Client Secret | This column should be encrypted | |
access_grant_type | varchar(2) | OAuth2 Access Grant Type |
| Implicit and Password Credentials not currently supported |
scope | varchar(256) | OAuth2 Token Scope | RFC 6749 | |
refresh_token | text | Current refresh token | RFC 6749 | Column type changed to text from varchar(160) for v4.4.0 (CO-2843) |
access_token | text | Current access token | RFC 6749 | Column type changed to text from varchar(160) for v4.4.0 (CO-2843) |
access_token_exp | integer | Current access token expiration time | RFC 6749 | Added Registry v4.5.0 (CO-2857) |
proxy | varchar(512) | Proxy configuration string | Proxy host and Proxy port separated by colon punctuation Added Registry v4.4.0 | |
token_response | text | Full token received from OAuth2Server | Intended so specific implementations can access vendor specific attributes |