Class TokenViewUtils

java.lang.Object
com.sankcrm.erp.auth.infrastructure.tokenview.TokenViewUtils

@Deprecated(forRemoval=true, since="3.2.0") public class TokenViewUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Since:
2.1.3
Author:
zhsxin
create time:
2023/11/3 下午3:57
  • Constructor Summary

    Constructors
    Constructor
    Description
    TokenViewUtils(com.sankcrm.erp.common.config.AppProperties properties)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Class<?>
    tokenType(Class<?> srcType, Supplier<Class<?>> def)
    Deprecated, for removal: This API element is subject to removal in a future version.
    获取Token类型

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TokenViewUtils

      public TokenViewUtils(com.sankcrm.erp.common.config.AppProperties properties)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • tokenType

      public static Class<?> tokenType(Class<?> srcType, Supplier<Class<?>> def)
      Deprecated, for removal: This API element is subject to removal in a future version.
      获取Token类型
      Parameters:
      srcType - 原类型
      def - 默认值
      Returns:
      类型