- CaptchaTokenGranter - com.relaxed.oauth2.auth.extension.captcha中的类
-
验证码授权者 实现基于验证码的OAuth2授权流程 支持用户名密码登录,并在认证前进行验证码校验
- CaptchaTokenGranter(AuthorizationServerTokenServices, ClientDetailsService, OAuth2RequestFactory, AuthenticationManager, PreValidator) - 类 的构造器com.relaxed.oauth2.auth.extension.captcha.CaptchaTokenGranter
-
构造函数
- ClassUtil - com.relaxed.oauth2.auth.util中的类
-
类工具类 提供类相关的工具方法,主要用于反射操作 包含方法缓存机制,提高反射性能
- ClassUtil() - 类 的构造器com.relaxed.oauth2.auth.util.ClassUtil
-
- client(String, UserDetailsService) - 类 中的方法com.relaxed.oauth2.auth.handler.AuthorizationInfoHandle
-
注册单个客户端及其对应的用户详情服务
- client(Map<String, UserDetailsService>) - 类 中的方法com.relaxed.oauth2.auth.handler.AuthorizationInfoHandle
-
批量注册客户端及其对应的用户详情服务
- com.relaxed.oauth2.auth.annotation - 程序包 com.relaxed.oauth2.auth.annotation
-
- com.relaxed.oauth2.auth.builder - 程序包 com.relaxed.oauth2.auth.builder
-
- com.relaxed.oauth2.auth.configuration - 程序包 com.relaxed.oauth2.auth.configuration
-
- com.relaxed.oauth2.auth.configurer - 程序包 com.relaxed.oauth2.auth.configurer
-
- com.relaxed.oauth2.auth.exception - 程序包 com.relaxed.oauth2.auth.exception
-
- com.relaxed.oauth2.auth.extension - 程序包 com.relaxed.oauth2.auth.extension
-
- com.relaxed.oauth2.auth.extension.captcha - 程序包 com.relaxed.oauth2.auth.extension.captcha
-
- com.relaxed.oauth2.auth.extension.mobile - 程序包 com.relaxed.oauth2.auth.extension.mobile
-
- com.relaxed.oauth2.auth.extension.refresh - 程序包 com.relaxed.oauth2.auth.extension.refresh
-
- com.relaxed.oauth2.auth.functions - 程序包 com.relaxed.oauth2.auth.functions
-
- com.relaxed.oauth2.auth.handler - 程序包 com.relaxed.oauth2.auth.handler
-
- com.relaxed.oauth2.auth.util - 程序包 com.relaxed.oauth2.auth.util
-
- configure(AuthorizationServerSecurityConfigurer) - 类 中的方法com.relaxed.oauth2.auth.configurer.CustomAuthorizationServerConfigurer
-
配置授权服务器的安全规则 包括: 1.
- configure(AuthorizationServerEndpointsConfigurer) - 类 中的方法com.relaxed.oauth2.auth.configurer.CustomAuthorizationServerConfigurer
-
配置授权服务器的端点 包括: 1.
- configure(ClientDetailsServiceConfigurer) - 类 中的方法com.relaxed.oauth2.auth.configurer.CustomAuthorizationServerConfigurer
-
配置客户端详情服务 通过OAuth2ClientConfigurer配置客户端信息 客户端信息可以存储在代码、配置文件或数据库中
- configure(AuthenticationManagerBuilder) - 类 中的方法com.relaxed.oauth2.auth.configurer.CustomWebSecurityConfigurer
-
配置认证管理器 注册所有自定义的认证提供者
- configure(HttpSecurity) - 类 中的方法com.relaxed.oauth2.auth.configurer.CustomWebSecurityConfigurer
-
配置HTTP安全规则 设置基本的安全配置,包括: 1.
- configure(ClientDetailsServiceConfigurer) - 类 中的方法com.relaxed.oauth2.auth.configurer.JdbcOauth2ClientConfigurer
-
配置客户端详情服务 使用JDBC方式配置客户端信息的存储
- configure(ClientDetailsServiceConfigurer) - 接口 中的方法com.relaxed.oauth2.auth.configurer.OAuth2ClientConfigurer
-
配置客户端详情服务 用于设置客户端信息的存储方式和配置
- create(Class<T>) - 类 中的静态方法com.relaxed.oauth2.auth.util.ProxyFactory
-
根据类创建代理对象 使用默认的PreMethodInterceptor作为方法拦截器
- create(T) - 类 中的静态方法com.relaxed.oauth2.auth.util.ProxyFactory
-
根据实例创建代理对象 使用默认的PreMethodInterceptor作为方法拦截器
- create(Class<T>, MethodInterceptor) - 类 中的静态方法com.relaxed.oauth2.auth.util.ProxyFactory
-
根据类和自定义方法拦截器创建代理对象
- create(T, MethodInterceptor) - 类 中的静态方法com.relaxed.oauth2.auth.util.ProxyFactory
-
根据实例和自定义方法拦截器创建代理对象
- CustomAuthorizationServerConfigurer - com.relaxed.oauth2.auth.configurer中的类
-
自定义授权服务器配置器 继承自AuthorizationServerConfigurerAdapter,用于配置OAuth2授权服务器的各项功能: 1.
- CustomAuthorizationServerConfigurer() - 类 的构造器com.relaxed.oauth2.auth.configurer.CustomAuthorizationServerConfigurer
-
- CustomOAuth2Exception - com.relaxed.oauth2.auth.exception中的异常错误
-
自定义OAuth2异常 扩展Spring Security OAuth2的异常处理 使用自定义的序列化器进行JSON序列化
- CustomOAuth2Exception(String, Throwable) - 异常错误 的构造器com.relaxed.oauth2.auth.exception.CustomOAuth2Exception
-
构造函数
- CustomOAuth2Exception(String) - 异常错误 的构造器com.relaxed.oauth2.auth.exception.CustomOAuth2Exception
-
构造函数
- CustomOAuth2ExceptionJackson2Serializer - com.relaxed.oauth2.auth.exception中的类
-
OAuth2异常JSON序列化器 用于自定义OAuth2异常的JSON序列化格式 将OAuth2异常转换为统一的响应格式
- CustomOAuth2ExceptionJackson2Serializer() - 类 的构造器com.relaxed.oauth2.auth.exception.CustomOAuth2ExceptionJackson2Serializer
-
默认构造函数 指定序列化的异常类型
- CustomPreAuthenticatedUserDetailsService<T extends org.springframework.security.core.Authentication> - com.relaxed.oauth2.auth.extension.refresh中的类
-
刷新Token认证用户详情服务 用于处理OAuth2刷新令牌时的用户认证 支持根据不同的授权类型选择不同的用户信息获取方式
- CustomPreAuthenticatedUserDetailsService(UserDetailsService, AuthorizationInfoHandle, TokenStore) - 类 的构造器com.relaxed.oauth2.auth.extension.refresh.CustomPreAuthenticatedUserDetailsService
-
构造函数
- customWebResponseExceptionTranslator() - 类 中的方法com.relaxed.oauth2.auth.configuration.AuthorizationAutoConfiguration
-
配置自定义的认证异常转换器 用于处理OAuth2认证过程中的异常
- CustomWebResponseExceptionTranslator - com.relaxed.oauth2.auth.exception中的类
-
自定义Web响应异常转换器 用于统一处理OAuth2认证过程中的异常 将不同类型的异常转换为统一的OAuth2异常格式
- CustomWebResponseExceptionTranslator() - 类 的构造器com.relaxed.oauth2.auth.exception.CustomWebResponseExceptionTranslator
-
- CustomWebSecurityConfigurer - com.relaxed.oauth2.auth.configurer中的类
-
自定义Web安全配置器 扩展Spring Security的Web安全配置 支持自定义认证提供者和安全规则
- CustomWebSecurityConfigurer() - 类 的构造器com.relaxed.oauth2.auth.configurer.CustomWebSecurityConfigurer
-