You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
Java
55 lines
1.1 KiB
Java
package com.ils.oms.result;
|
|
|
|
import java.util.Map;
|
|
|
|
public class JwtVerifyResult {
|
|
/** 1 是否成功 **/
|
|
private Boolean success;
|
|
/** 2 返回消息 **/
|
|
private String msg;
|
|
/** 3 jwt负载 **/
|
|
private Map<String,String> payload;
|
|
|
|
public JwtVerifyResult() {
|
|
}
|
|
|
|
public JwtVerifyResult(Boolean success, String msg) {
|
|
this.success = success;
|
|
this.msg = msg;
|
|
}
|
|
|
|
public Boolean getSuccess() {
|
|
return success;
|
|
}
|
|
|
|
public void setSuccess(Boolean success) {
|
|
this.success = success;
|
|
}
|
|
|
|
public String getMsg() {
|
|
return msg;
|
|
}
|
|
|
|
public void setMsg(String msg) {
|
|
this.msg = msg;
|
|
}
|
|
|
|
public Map<String, String> getPayload() {
|
|
return payload;
|
|
}
|
|
|
|
public void setPayload(Map<String, String> payload) {
|
|
this.payload = payload;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "JwtResult{" +
|
|
"success=" + success +
|
|
", msg='" + msg + '\'' +
|
|
", payload=" + payload +
|
|
'}';
|
|
}
|
|
|
|
}
|