@Entity public class AuthorizationCodeEntity extends Object
| Constructor and Description |
|---|
AuthorizationCodeEntity()
Default constructor.
|
AuthorizationCodeEntity(String code,
org.springframework.security.oauth2.provider.OAuth2Authentication authRequest)
Create a new AuthorizationCodeEntity with the given code and AuthorizationRequestHolder.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.provider.OAuth2Authentication |
getAuthentication() |
String |
getCode() |
Long |
getId() |
void |
setAuthentication(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) |
void |
setCode(String code) |
void |
setId(Long id) |
public AuthorizationCodeEntity()
public AuthorizationCodeEntity(String code, org.springframework.security.oauth2.provider.OAuth2Authentication authRequest)
code - the authorization codeauthRequest - the AuthoriztionRequestHolder associated with the original code requestpublic org.springframework.security.oauth2.provider.OAuth2Authentication getAuthentication()
public void setAuthentication(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
authentication - the authentication to setCopyright © 2015. All Rights Reserved.