Class RegisteredClientToOAuth2DeviceConverter
java.lang.Object
cn.herodotus.engine.oauth2.management.converter.RegisteredClientToOAuth2DeviceConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.server.authorization.client.RegisteredClient,OAuth2Device>
public class RegisteredClientToOAuth2DeviceConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.server.authorization.client.RegisteredClient,OAuth2Device>
Description: OAuth2Device 转 RegisteredClient 转换器
- Author:
- : gengwei.zheng
- Date:
- : 2023/5/21 22:05
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(org.springframework.security.oauth2.server.authorization.client.RegisteredClient registeredClient) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
RegisteredClientToOAuth2DeviceConverter
-
-
Method Details
-
convert
public OAuth2Device convert(org.springframework.security.oauth2.server.authorization.client.RegisteredClient registeredClient) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.server.authorization.client.RegisteredClient,OAuth2Device>
-