Constructor and Description |
---|
JwtDecoder() |
Modifier and Type | Method and Description |
---|---|
Jwt |
decode(String token)
Decodes the given String as a JSON web token.
|
public Jwt decode(String token) throws IllegalArgumentException
CAUTION: This method only decodes the token, it does not check its validity!
token
- The string to parse as a token.IllegalArgumentException
- If the token string could not be decoded.Copyright © 2018 SAP SE. All rights reserved.