类 HerodotusTokenStrategyConfigurer

java.lang.Object
cn.herodotus.engine.oauth2.authorization.customizer.HerodotusTokenStrategyConfigurer

public class HerodotusTokenStrategyConfigurer extends Object

Description: Token 配置 通用代码

作者:
: gengwei.zheng
Date:
: 2022/10/14 17:29
  • 构造器概要

    构造器
    构造器
    说明
    HerodotusTokenStrategyConfigurer(org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, SecurityProperties securityProperties, cn.herodotus.engine.web.core.properties.EndpointProperties endpointProperties, org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties resourceServerProperties)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    cn.herodotus.engine.assistant.core.definition.BearerTokenResolver
     
    org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>
    from(org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> configurer)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • HerodotusTokenStrategyConfigurer

      public HerodotusTokenStrategyConfigurer(org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, SecurityProperties securityProperties, cn.herodotus.engine.web.core.properties.EndpointProperties endpointProperties, org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties resourceServerProperties)
  • 方法详细资料

    • from

      public org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> from(org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> configurer)
    • createBearerTokenResolver

      public cn.herodotus.engine.assistant.core.definition.BearerTokenResolver createBearerTokenResolver()