Connection.setServerJwtToken()

DESCRIPTION

Set a JWT for use with this connection for establishing a remote connection (if the authentication type for the application associated with this client is set to “JWT” in the Nabto Cloud Console).

DECLARATION

    public func setServerJwtToken(jwt: String) throws 

PARAMETERS

key:
The token to use for this connection.

THROWS ERRORS

INVALID_STATE:
if connection already established