public class OAuth20Credentials extends OAuthCredentials
Constructor and Description |
---|
OAuth20Credentials(String code,
String clientName)
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() |
getClientName, getUserProfile, setClientName, setUserProfile
public 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)
public String toString()
toString
in class OAuthCredentials
Copyright © 2017. All rights reserved.