com.larksuite.oapi.core.Keys Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of larksuite-oapi Show documentation
Show all versions of larksuite-oapi Show documentation
Larksuite open platform facilitates the integration of enterprise applications and larksuite, making
collaboration and management more efficient
package com.larksuite.oapi.core;
public class Keys {
private static final String appTicketKeyPrefix = "app_ticket";
private static final String appAccessTokenKeyPrefix = "app_access_token";
private static final String tenantAccessTokenKeyPrefix = "tenant_access_token";
public static String appTicketKey(String appID) {
return appTicketKeyPrefix + "-" + appID;
}
public static String appAccessTokenKey(String appID) {
return appAccessTokenKeyPrefix + "-" + appID;
}
public static String tenantAccessTokenKey(String appID, String tenantKey) {
return tenantAccessTokenKeyPrefix + "-" + appID + "-" + tenantKey;
}
}