类 OAuth2UserDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<org.springframework.security.core.userdetails.User>
io.github.mangocrisp.spring.taybct.auth.security.support.OAuth2UserDeserializer
- 所有已实现的接口:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class OAuth2UserDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<org.springframework.security.core.userdetails.User>
用户反序列化器
-
嵌套类概要
从类继承的嵌套类/接口 com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None
-
字段概要
字段修饰符和类型字段说明private static final com.fasterxml.jackson.core.type.TypeReference<List<org.springframework.security.core.authority.SimpleGrantedAuthority>>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.security.core.userdetails.User
deserialize
(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) private com.fasterxml.jackson.databind.JsonNode
readJsonNode
(com.fasterxml.jackson.databind.JsonNode jsonNode, String field) 从类继承的方法 com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
字段详细资料
-
SIMPLE_GRANTED_AUTHORITY_SET
private static final com.fasterxml.jackson.core.type.TypeReference<List<org.springframework.security.core.authority.SimpleGrantedAuthority>> SIMPLE_GRANTED_AUTHORITY_SET
-
-
构造器详细资料
-
OAuth2UserDeserializer
public OAuth2UserDeserializer()
-
-
方法详细资料
-
deserialize
public org.springframework.security.core.userdetails.User deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException - 指定者:
deserialize
在类中com.fasterxml.jackson.databind.JsonDeserializer<org.springframework.security.core.userdetails.User>
- 抛出:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-
readJsonNode
private com.fasterxml.jackson.databind.JsonNode readJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, String field)
-