@Immutable public final class ACRRequest extends java.lang.Object
| Constructor and Description |
|---|
ACRRequest(java.util.List<ACR> essentialACRs,
java.util.List<ACR> voluntaryACRs)
Creates a new Authentication Context Class Reference (ACR) request.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ACR> |
getEssentialACRs()
Gets the requested essential ACR values.
|
java.util.List<ACR> |
getVoluntaryACRs()
Gets the requested voluntary ACR values.
|
boolean |
isEmpty()
Checks if this authentication Context Class Reference (ACR) request
has not essential or voluntary values specified.
|
static ACRRequest |
resolve(AuthenticationRequest authRequest)
Resolves the requested essential and voluntary ACR values from the
specified OpenID Connect authentication request.
|
public ACRRequest(java.util.List<ACR> essentialACRs, java.util.List<ACR> voluntaryACRs)
essentialACRs - The requested essential ACR values, by order of
preference, null if not specified.voluntaryACRs - The requested voluntary ACR values, by order of
preference, null if not specified.public java.util.List<ACR> getEssentialACRs()
null if not specified.public java.util.List<ACR> getVoluntaryACRs()
null if not specified.public boolean isEmpty()
true if this ACR request doesn't specify any
essential or voluntary values, else false.public static ACRRequest resolve(AuthenticationRequest authRequest)
authRequest - The OpenID Connect authentication request. Should
be resolved. Must not be null.Copyright © 2016 Connect2id Ltd.. All Rights Reserved.