public class Oauth2AuthorizationCodeGrantType extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Oauth2AuthorizationCodeGrantType.TokenEndpoint
The TokenEndpoint represents the token endpoint
|
static class |
Oauth2AuthorizationCodeGrantType.TokenRequestEndpoint
The TokenRequestEndpoint represents the url for the request token endpoint
|
| Constructor and Description |
|---|
Oauth2AuthorizationCodeGrantType()
This creates a Oauth2AuthorizationCodeGrantType
|
Oauth2AuthorizationCodeGrantType(Oauth2AuthorizationCodeGrantType.TokenRequestEndpoint tokenRequestEndpoint,
Oauth2AuthorizationCodeGrantType.TokenEndpoint tokenEndpoint)
This creates a Oauth2AuthorizationCodeGrantType
|
Oauth2AuthorizationCodeGrantType(String tokenRequestEndpointUrl,
String tokenEndpointUrl)
This creates a Oauth2AuthorizationCodeGrantType with the given endpoint urls
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Oauth2AuthorizationCodeGrantType.TokenEndpoint |
getTokenEndpoint()
This gets the tokenEndpoint
|
Oauth2AuthorizationCodeGrantType.TokenRequestEndpoint |
getTokenRequestEndpoint()
This gets the tokenRequestEndpoint
|
int |
hashCode() |
String |
toString() |
public Oauth2AuthorizationCodeGrantType()
public Oauth2AuthorizationCodeGrantType(Oauth2AuthorizationCodeGrantType.TokenRequestEndpoint tokenRequestEndpoint, Oauth2AuthorizationCodeGrantType.TokenEndpoint tokenEndpoint)
tokenRequestEndpoint - tokenEndpoint - public Oauth2AuthorizationCodeGrantType(String tokenRequestEndpointUrl, String tokenEndpointUrl)
tokenRequestEndpointUrl - The url to the token request endpointtokenEndpointUrl - The url to the token endpointpublic Oauth2AuthorizationCodeGrantType.TokenRequestEndpoint getTokenRequestEndpoint()
public Oauth2AuthorizationCodeGrantType.TokenEndpoint getTokenEndpoint()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.