public class OAuth20Credentials extends OAuthCredentials
Constructor and Description |
---|
OAuth20Credentials(String code)
For OAuth2 Authorization Code Flow.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.github.scribejava.core.model.OAuth2AccessToken |
getAccessToken() |
String |
getCode() |
int |
hashCode() |
void |
setAccessToken(com.github.scribejava.core.model.OAuth2AccessToken accessToken) |
String |
toString() |
getUserProfile, setUserProfile
public OAuth20Credentials(String code)
code
- the authorization codepublic String getCode()
public boolean equals(Object o)
equals
in class OAuthCredentials
public int hashCode()
hashCode
in class OAuthCredentials
public com.github.scribejava.core.model.OAuth2AccessToken getAccessToken()
public void setAccessToken(com.github.scribejava.core.model.OAuth2AccessToken accessToken)
Copyright © 2019. All rights reserved.