public static interface JWS.Factory
An instance of this type can be used to produce an operator based on the header specified for a JWT.
Modifier and Type | Method and Description |
---|---|
JWS |
getOperator(JWS.Header header)
Gets an operator appropriate for use with a signed JWT with the
specified header claims.
|
JWS getOperator(JWS.Header header) throws JWTConfigurationException
header
- JOSE headerJWTConfigurationException
- if an unexpected error occurs in
producing an operatorCopyright © 2019. All rights reserved.