public class OAuthCredentials extends Object implements Authentication, Serializable
| Constructor and Description |
|---|
OAuthCredentials() |
OAuthCredentials(String clientId,
String clientSecret,
URI accessTokenURI) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
URI |
getAccessTokenURI() |
String |
getClientId() |
String |
getClientSecret() |
Object |
getCredentials()
The credentials that prove the principal is correct.
|
Object |
getPrincipal()
The identity of the principal being authenticated.
|
int |
hashCode() |
void |
setAccessTokenURI(URI accessTokenURI) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
public Object getPrincipal()
AuthenticationgetPrincipal in interface AuthenticationPrincipal being authenticated or the authenticated
principal after authentication.public Object getCredentials()
AuthenticationgetCredentials in interface AuthenticationPrincipalpublic String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public URI getAccessTokenURI()
public void setAccessTokenURI(URI accessTokenURI)
Copyright © 2018. All rights reserved.