Interface IThirdPartyAppService4Call

All Known Implementing Classes:
ThirdPartyAppService

public interface IThirdPartyAppService4Call
  • Method Summary

    Modifier and Type
    Method
    Description
    signJwt(String accessKey, byte[] body, String signature, Instant iat)
    校验摘要,如果校验成功则签发JWT,否则抛出异常。
  • Method Details

    • signJwt

      String signJwt(String accessKey, byte[] body, String signature, Instant iat) throws InvalidAccessKeyException
      校验摘要,如果校验成功则签发JWT,否则抛出异常。
      Parameters:
      accessKey - AccessKey
      body - 消息内容
      signature - 消息摘要
      iat - 消息签发时间
      Returns:
      携带认证信息的JWT
      Throws:
      InvalidAccessKeyException - 如果摘要校验失败则抛出此异常