mitreid-connect
公開メンバ関数 | 静的公開変数類 | 非公開変数類 | 全メンバ一覧
org.mitre.oauth2.model.DeviceCode クラス
org.mitre.oauth2.model.DeviceCode 連携図
Collaboration graph

公開メンバ関数

 DeviceCode ()
 
 DeviceCode (String deviceCode, String userCode, Set< String > scope, String clientId, Map< String, String > params)
 
Long getId ()
 
void setId (Long id)
 
String getDeviceCode ()
 
void setDeviceCode (String deviceCode)
 
String getUserCode ()
 
void setUserCode (String userCode)
 
Set< String > getScope ()
 
void setScope (Set< String > scope)
 
Date getExpiration ()
 
void setExpiration (Date expiration)
 
String getClientId ()
 
void setClientId (String clientId)
 
Map< String, String > getRequestParameters ()
 
void setRequestParameters (Map< String, String > params)
 
boolean isApproved ()
 
void setApproved (boolean approved)
 
AuthenticationHolderEntity getAuthenticationHolder ()
 
void setAuthenticationHolder (AuthenticationHolderEntity authenticationHolder)
 

静的公開変数類

static final String QUERY_BY_USER_CODE = "DeviceCode.queryByUserCode"
 
static final String QUERY_BY_DEVICE_CODE = "DeviceCode.queryByDeviceCode"
 
static final String QUERY_EXPIRED_BY_DATE = "DeviceCode.queryExpiredByDate"
 
static final String PARAM_USER_CODE = "userCode"
 
static final String PARAM_DEVICE_CODE = "deviceCode"
 
static final String PARAM_DATE = "date"
 

非公開変数類

Long id
 
String deviceCode
 
String userCode
 
Set< String > scope
 
Date expiration
 
String clientId
 
Map< String, String > requestParameters
 
boolean approved
 
AuthenticationHolderEntity authenticationHolder
 

詳解

著者
jricher

構築子と解体子

◆ DeviceCode() [1/2]

org.mitre.oauth2.model.DeviceCode.DeviceCode ( )
inline
71  {
72 
73  }

◆ DeviceCode() [2/2]

org.mitre.oauth2.model.DeviceCode.DeviceCode ( String  deviceCode,
String  userCode,
Set< String >  scope,
String  clientId,
Map< String, String >  params 
)
inline
75  {
76  this.deviceCode = deviceCode;
77  this.userCode = userCode;
78  this.scope = scope;
79  this.clientId = clientId;
80  this.requestParameters = params;
81  }
String deviceCode
Definition: DeviceCode.java:62
Map< String, String > requestParameters
Definition: DeviceCode.java:67
String clientId
Definition: DeviceCode.java:66
Set< String > scope
Definition: DeviceCode.java:64
String userCode
Definition: DeviceCode.java:63

関数詳解

◆ getAuthenticationHolder()

AuthenticationHolderEntity org.mitre.oauth2.model.DeviceCode.getAuthenticationHolder ( )
inline

The authentication in place when this token was created.

戻り値
the authentication
222  {
223  return authenticationHolder;
224  }
AuthenticationHolderEntity authenticationHolder
Definition: DeviceCode.java:69

◆ getClientId()

String org.mitre.oauth2.model.DeviceCode.getClientId ( )
inline
戻り値
the clientId
168  {
169  return clientId;
170  }
String clientId
Definition: DeviceCode.java:66

◆ getDeviceCode()

String org.mitre.oauth2.model.DeviceCode.getDeviceCode ( )
inline
戻り値
the deviceCode
105  {
106  return deviceCode;
107  }
String deviceCode
Definition: DeviceCode.java:62

◆ getExpiration()

Date org.mitre.oauth2.model.DeviceCode.getExpiration ( )
inline
155  {
156  return expiration;
157  }
Date expiration
Definition: DeviceCode.java:65

◆ getId()

Long org.mitre.oauth2.model.DeviceCode.getId ( )
inline
戻り値
the id
89  {
90  return id;
91  }
Long id
Definition: DeviceCode.java:61

◆ getRequestParameters()

Map<String, String> org.mitre.oauth2.model.DeviceCode.getRequestParameters ( )
inline
戻り値
the params
189  {
190  return requestParameters;
191  }
Map< String, String > requestParameters
Definition: DeviceCode.java:67

◆ getScope()

Set<String> org.mitre.oauth2.model.DeviceCode.getScope ( )
inline
戻り値
the scope
141  {
142  return scope;
143  }
Set< String > scope
Definition: DeviceCode.java:64

◆ getUserCode()

String org.mitre.oauth2.model.DeviceCode.getUserCode ( )
inline
戻り値
the userCode
121  {
122  return userCode;
123  }
String userCode
Definition: DeviceCode.java:63

◆ isApproved()

boolean org.mitre.oauth2.model.DeviceCode.isApproved ( )
inline
戻り値
the approved
205  {
206  return approved;
207  }
boolean approved
Definition: DeviceCode.java:68

◆ setApproved()

void org.mitre.oauth2.model.DeviceCode.setApproved ( boolean  approved)
inline
引数
approvedthe approved to set
212  {
213  this.approved = approved;
214  }
boolean approved
Definition: DeviceCode.java:68

◆ setAuthenticationHolder()

void org.mitre.oauth2.model.DeviceCode.setAuthenticationHolder ( AuthenticationHolderEntity  authenticationHolder)
inline
引数
authenticationthe authentication to set
229  {
231  }
AuthenticationHolderEntity authenticationHolder
Definition: DeviceCode.java:69

◆ setClientId()

void org.mitre.oauth2.model.DeviceCode.setClientId ( String  clientId)
inline
引数
clientIdthe clientId to set
175  {
176  this.clientId = clientId;
177  }
String clientId
Definition: DeviceCode.java:66

◆ setDeviceCode()

void org.mitre.oauth2.model.DeviceCode.setDeviceCode ( String  deviceCode)
inline
引数
deviceCodethe deviceCode to set
112  {
113  this.deviceCode = deviceCode;
114  }
String deviceCode
Definition: DeviceCode.java:62

◆ setExpiration()

void org.mitre.oauth2.model.DeviceCode.setExpiration ( Date  expiration)
inline
159  {
160  this.expiration = expiration;
161  }
Date expiration
Definition: DeviceCode.java:65

◆ setId()

void org.mitre.oauth2.model.DeviceCode.setId ( Long  id)
inline
引数
idthe id to set
96  {
97  this.id = id;
98  }
Long id
Definition: DeviceCode.java:61

◆ setRequestParameters()

void org.mitre.oauth2.model.DeviceCode.setRequestParameters ( Map< String, String >  params)
inline
引数
paramsthe params to set
196  {
197  this.requestParameters = params;
198  }
Map< String, String > requestParameters
Definition: DeviceCode.java:67

◆ setScope()

void org.mitre.oauth2.model.DeviceCode.setScope ( Set< String >  scope)
inline
引数
scopethe scope to set
148  {
149  this.scope = scope;
150  }
Set< String > scope
Definition: DeviceCode.java:64

◆ setUserCode()

void org.mitre.oauth2.model.DeviceCode.setUserCode ( String  userCode)
inline
引数
userCodethe userCode to set
128  {
129  this.userCode = userCode;
130  }
String userCode
Definition: DeviceCode.java:63

メンバ詳解

◆ approved

boolean org.mitre.oauth2.model.DeviceCode.approved
private

◆ authenticationHolder

AuthenticationHolderEntity org.mitre.oauth2.model.DeviceCode.authenticationHolder
private

◆ clientId

String org.mitre.oauth2.model.DeviceCode.clientId
private

◆ deviceCode

String org.mitre.oauth2.model.DeviceCode.deviceCode
private

◆ expiration

Date org.mitre.oauth2.model.DeviceCode.expiration
private

◆ id

Long org.mitre.oauth2.model.DeviceCode.id
private

◆ PARAM_DATE

final String org.mitre.oauth2.model.DeviceCode.PARAM_DATE = "date"
static

◆ PARAM_DEVICE_CODE

final String org.mitre.oauth2.model.DeviceCode.PARAM_DEVICE_CODE = "deviceCode"
static

◆ PARAM_USER_CODE

final String org.mitre.oauth2.model.DeviceCode.PARAM_USER_CODE = "userCode"
static

◆ QUERY_BY_DEVICE_CODE

final String org.mitre.oauth2.model.DeviceCode.QUERY_BY_DEVICE_CODE = "DeviceCode.queryByDeviceCode"
static

◆ QUERY_BY_USER_CODE

final String org.mitre.oauth2.model.DeviceCode.QUERY_BY_USER_CODE = "DeviceCode.queryByUserCode"
static

◆ QUERY_EXPIRED_BY_DATE

final String org.mitre.oauth2.model.DeviceCode.QUERY_EXPIRED_BY_DATE = "DeviceCode.queryExpiredByDate"
static

◆ requestParameters

Map<String, String> org.mitre.oauth2.model.DeviceCode.requestParameters
private

◆ scope

Set<String> org.mitre.oauth2.model.DeviceCode.scope
private

◆ userCode

String org.mitre.oauth2.model.DeviceCode.userCode
private

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