Package io.deephaven.jupyter.kernel
Class TokenCreation
java.lang.Object
io.deephaven.jupyter.kernel.TokenCreation
- All Implemented Interfaces:
com.illumon.util.net.TokenMangler
public class TokenCreation extends Object implements com.illumon.util.net.TokenMangler
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description TokenCreation()
-
Method Summary
Modifier and Type Method Description String
createTokenBase64(String service)
The in-worker jupyter kernel widget calls this function and the return value is serialized to the JS client widget.static TokenCreation
getInstance()
PublicKey
getPublicKey()
-
Constructor Details
-
TokenCreation
public TokenCreation()
-
-
Method Details
-
getInstance
-
createTokenBase64
The in-worker jupyter kernel widget calls this function and the return value is serialized to the JS client widget.See prime-connection-info.py
- Parameters:
service
- the service- Returns:
- the token in base64
- Throws:
IOException
- if an IO exception occurs
-
getPublicKey
- Specified by:
getPublicKey
in interfacecom.illumon.util.net.TokenMangler
-