public abstract class AssertionGrant extends AuthorizationGrant
Related specifications:
Modifier and Type | Field and Description |
---|---|
protected static ParseException |
MISSING_ASSERTION_PARAM_EXCEPTION
Caches missing
assertion parameter exception. |
protected static ParseException |
MISSING_GRANT_TYPE_PARAM_EXCEPTION
Cached missing
grant_type parameter exception. |
Modifier | Constructor and Description |
---|---|
protected |
AssertionGrant(GrantType type)
Creates a new assertion-based authorisation grant.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getAssertion()
Gets the assertion.
|
getType, parse, toParameters
protected static final ParseException MISSING_GRANT_TYPE_PARAM_EXCEPTION
grant_type
parameter exception.protected static final ParseException MISSING_ASSERTION_PARAM_EXCEPTION
assertion
parameter exception.protected AssertionGrant(GrantType type)
type
- The authorisation grant type. Must not be null
.public abstract String getAssertion()
Copyright © 2016 Connect2id Ltd.. All rights reserved.