|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationDetails
public class OAuth2AuthenticationDetails
A holder of selected HTTP details related to an OAuth2 authentication request.
| 字段摘要 | |
|---|---|
static String |
ACCESS_TOKEN_VALUE
|
| 构造方法摘要 | |
|---|---|
OAuth2AuthenticationDetails(javax.servlet.http.HttpServletRequest request)
Records the access token value and remote address and will also set the session Id if a session already exists (it won't create one). |
|
| 方法摘要 | |
|---|---|
String |
getRemoteAddress()
Indicates the TCP/IP address the authentication request was received from. |
String |
getSessionId()
Indicates the HttpSession id the authentication request was received from. |
String |
getTokenValue()
The access token value used to authenticate the request (normally in an authorization header). |
String |
toString()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String ACCESS_TOKEN_VALUE
| 构造方法详细信息 |
|---|
public OAuth2AuthenticationDetails(javax.servlet.http.HttpServletRequest request)
request - that the authentication request was received from| 方法详细信息 |
|---|
public String getTokenValue()
public String getRemoteAddress()
public String getSessionId()
HttpSession id the authentication request was received from.
public String toString()
Object 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||