gluu
公開メンバ関数 | 全メンバ一覧
org.xdi.oxd.server.manual.ClientCredentialsTest クラス
org.xdi.oxd.server.manual.ClientCredentialsTest 連携図
Collaboration graph

公開メンバ関数

void test (String clientId, String clientSecret)
 

詳解

著者
Yuriy Zabrovarnyy
バージョン
0.9, 29/10/2013

関数詳解

◆ test()

void org.xdi.oxd.server.manual.ClientCredentialsTest.test ( String  clientId,
String  clientSecret 
)
inline
17  {
18  final String tokenEndpoint = "https://ce-dev.gluu.org/oxauth/seam/resource/restv1/oxauth/token";
19  final TokenClient tokenClient = new TokenClient(tokenEndpoint);
20  final TokenResponse response = tokenClient.execClientCredentialsGrant("openid", clientId, clientSecret);
21  System.out.println(response);
22  }

このクラス詳解は次のファイルから抽出されました: