cn.authing.sdk.java.util.signature.ISignatureComposer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.util.signature;
import java.util.Map;
public interface ISignatureComposer {
/**
* 生成签名
* @param method
* @param uri
* @param headers
* @param queries
* @return
*/
String composeStringToSign(String method, String uri, Map headers, Map queries);
/**
* 获取 Authorization 的值
* @param accessKeyId
* @param accessKeySecret
* @param stringToSign
* @return
*/
String getAuthorization(String accessKeyId, String accessKeySecret, String stringToSign);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy