All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dingtalk.spring.boot.bean.JsapiTicketSignature Maven / Gradle / Ivy

There is a newer version: 2.7.x.20240823.RELEASE
Show newest version
/*
 * Copyright (c) 2018, hiwepy (https://github.com/hiwepy).
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.dingtalk.spring.boot.bean;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class JsapiTicketSignature implements Serializable {

	private static final long serialVersionUID = 7442708886169868689L;
	
	/**
	 * 应用的标识
	 */
	private String agentId;
	/**
	 * 当前网页的URL,不包含#及其后面部分
	 */
	private String url;
	/**
	 * 随机串,自己定义
	 */
	private String nonceStr;
	/**
	 * 时间戳:当前时间,但是前端和服务端进行校验时候的值要一致
	 */
	private long timestamp;
	/**
	 * 企业ID,在开发者后台中企业视图下开发者账号设置里面可以看到
	 */
	private String corpId;
	/**
	 * 签名信息
	 */
	private String signature;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy