JDBC Driver for SuiteCRM

Build 23.0.8839

OAuthTokens

Query currently active OAuth tokens

テーブル固有の情報

Select

WHERE 句で任意の条件を使用して、OAuth Tokens テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。

SELECT * FROM [OAuth Tokens] WHERE [Callback Url] LIKE '%.net/consume' 

Insert

書き込み可能なカラムを指定して、OAuth Token を作成します。

INSERT INTO [Oauth Tokens] ([Consumer Name], Consumer, Secret) VALUES ('Testing app', 'code101', 'hushSecret3')

Update

Id を指定して、書き込み可能なOAuth Token カラムを更新できます。

UPDATE [Oauth Tokens] SET TState = '1' WHERE Id = 'Test123' 

Delete

Id を指定して、OAuth Token を削除します。

DELETE FROM [OAuth Tokens] WHERE Id = 10003

Columns

Name Type ReadOnly Description
ID [KEY] String False

The unique identifier of the token.

CallbackURL String False

Callback URL given for the token

Consumer String False

Consumer key associated with the token

ConsumerName String True

The consumer name given for the token

Deleted Bool False

The record deletion indicator.

LBL_ASSIGNED_TO_ID String True

The user name of the user the token has been assigned to.

AssignedUserId String False

The Id of the user the token has been assigned to.

Secret String False

Consumer secret associeated with the token

Token_TS String False

Timestamp recorded for the token

TState String False

Current state of the token

Verify String False

Verification status of the token

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Rows@Next String

Identifier for the next page of results. Do not set this value manually.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839