Class TokenTrust.Pinned
java.lang.Object
org.cloudburstmc.netty.util.nethernet.TokenTrust.Pinned
- All Implemented Interfaces:
TokenTrust
- Enclosing interface:
- TokenTrust
Accepts a token signed by, and naming, one of a fixed set of keys.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cloudburstmc.netty.util.nethernet.TokenTrust
TokenTrust.Pinned, TokenTrust.Unverified -
Field Summary
Fields inherited from interface org.cloudburstmc.netty.util.nethernet.TokenTrust
ANY, MINECRAFT_AUTH -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.netty.util.nethernet.TokenTrust
prepare
-
Method Details
-
claims
- Specified by:
claimsin interfaceTokenTrust- Parameters:
identity- The identity taken from the offer- Returns:
- The token's claims, which must include
cpk - Throws:
Exception- If the token is not trusted
-