gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.xdi.oxauth.client.TokenRequest.Builder クラス
org.xdi.oxauth.client.TokenRequest.Builder 連携図
Collaboration graph

公開メンバ関数

Builder grantType (GrantType grantType)
 
Builder scope (String scope)
 
Builder pat (String... scopeArray)
 
TokenRequest build ()
 

非公開変数類

GrantType grantType
 
String scope
 

詳解

関数詳解

◆ build()

TokenRequest org.xdi.oxauth.client.TokenRequest.Builder.build ( )
inline
63  {
64  final TokenRequest request = new TokenRequest(grantType);
65  request.setScope(scope);
66  return request;
67  }
GrantType grantType
Definition: TokenRequest.java:40
String scope
Definition: TokenRequest.java:41
TokenRequest(GrantType grantType)
Definition: TokenRequest.java:95

◆ grantType()

Builder org.xdi.oxauth.client.TokenRequest.Builder.grantType ( GrantType  grantType)
inline
43  {
44  this.grantType = grantType;
45  return this;
46  }
GrantType grantType
Definition: TokenRequest.java:40

◆ pat()

Builder org.xdi.oxauth.client.TokenRequest.Builder.pat ( String...  scopeArray)
inline
53  {
54  String scope = UmaScopeType.PROTECTION.getValue();
55  if (scopeArray != null && scopeArray.length > 0) {
56  for (String s : scopeArray) {
57  scope = scope + " " + s;
58  }
59  }
60  return scope(scope);
61  }
String scope
Definition: TokenRequest.java:41

◆ scope()

Builder org.xdi.oxauth.client.TokenRequest.Builder.scope ( String  scope)
inline
48  {
49  this.scope = scope;
50  return this;
51  }
String scope
Definition: TokenRequest.java:41

メンバ詳解

◆ grantType

GrantType org.xdi.oxauth.client.TokenRequest.Builder.grantType
private

◆ scope

String org.xdi.oxauth.client.TokenRequest.Builder.scope
private

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