类 OpenIDConnectService
java.lang.Object
club.zhcs.lina.oidc.service.OpenIDConnectService
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
public class OpenIDConnectService
extends Object
implements org.springframework.context.ApplicationEventPublisherAware
-
构造器概要
构造器构造器说明OpenIDConnectService(String discoveryUrl, String clientId, String clientSecret, String redirectUrl) -
方法概要
修饰符和类型方法说明使用授权码进行登录(获取用户信息)loginUrl()登录地址登录地址登出地址voidsetApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) 获取token用户信息
-
构造器详细资料
-
OpenIDConnectService
-
-
方法详细资料
-
getClient
-
token
获取token- 参数:
code-- 返回:
-
createDecoder
-
user
用户信息- 参数:
token-- 返回:
-
login
使用授权码进行登录(获取用户信息)- 参数:
code-- 返回:
-
loginUrl
登录地址- 参数:
state- statenonce- nonce- 返回:
-
loginUrl
登录地址- 返回:
-
logoutUrl
登出地址- 返回:
-
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - 指定者:
setApplicationEventPublisher在接口中org.springframework.context.ApplicationEventPublisherAware- 参数:
applicationEventPublisher-- 另请参阅:
-