This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-19 11:37:42 +02:00
|
|
|
package envoy.event;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This event can be used to transmit a new authentication token to a client.
|
|
|
|
*
|
|
|
|
* @author Kai S. K. Engelbart
|
|
|
|
* @since Envoy Common v0.2-beta
|
|
|
|
*/
|
|
|
|
public class NewAuthToken extends Event<String> {
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constructs a new authentication token event.
|
|
|
|
*
|
|
|
|
* @param token the token to transmit
|
|
|
|
* @since Envoy Common v0.2-beta
|
|
|
|
*/
|
|
|
|
public NewAuthToken(String token) {
|
|
|
|
super(token);
|
|
|
|
}
|
2020-09-19 13:43:03 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() { return "NewAuthToken"; }
|
2020-09-19 11:37:42 +02:00
|
|
|
}
|