Class JwtOnlyCredentials
- java.lang.Object
-
- com.cumulocity.microservice.security.token.JwtOnlyCredentials
-
- All Implemented Interfaces:
JwtCredentials
public class JwtOnlyCredentials extends Object implements JwtCredentials
-
-
Constructor Summary
Constructors Constructor Description JwtOnlyCredentials(com.nimbusds.jwt.JWT jwt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
com.nimbusds.jwt.JWT
getJwt()
int
hashCode()
UserCredentials
toUserCredentials(String tenantName, JwtTokenAuthentication jwtTokenAuthentication)
-
-
-
Method Detail
-
getJwt
public com.nimbusds.jwt.JWT getJwt()
- Specified by:
getJwt
in interfaceJwtCredentials
-
toUserCredentials
public UserCredentials toUserCredentials(String tenantName, JwtTokenAuthentication jwtTokenAuthentication)
- Specified by:
toUserCredentials
in interfaceJwtCredentials
-
-