public abstract class OAuthGrant extends Object
Modifier and Type | Field and Description |
---|---|
protected ErrorResponse.ErrorResponseCode |
errorCode |
protected String |
errorDescription |
protected String |
errorURI |
protected String |
state |
Constructor and Description |
---|
OAuthGrant() |
Modifier and Type | Method and Description |
---|---|
ErrorResponse |
error() |
OAuthGrant |
setErrorDescription(String errorDesc) |
OAuthGrant |
setErrorResponseCode(ErrorResponse.ErrorResponseCode erc) |
OAuthGrant |
setErrorURI(String errorURI) |
abstract void |
validate() |
protected ErrorResponse.ErrorResponseCode errorCode
protected String errorDescription
protected String errorURI
protected String state
public abstract void validate()
public OAuthGrant setErrorResponseCode(ErrorResponse.ErrorResponseCode erc)
public OAuthGrant setErrorDescription(String errorDesc)
public OAuthGrant setErrorURI(String errorURI)
public ErrorResponse error()
Copyright © 2019. All rights reserved.