@ Override public Future < MailToken > saveToken ( MailToken mailToken ) { return toScala ( doSaveToken ( Token . fromScala ( mailToken ) ) . thenApply ( Token :: toScala ) ) ; }
Saves a token . This is needed for users that are creating an account in the system instead of using one in a 3rd party system .