public class OAuth2Plugin
extends org.apache.shenyu.plugin.base.AbstractShenyuPlugin
| 构造器和说明 |
|---|
OAuth2Plugin(org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.ReactiveOAuth2AuthorizedClientService> authorizedClientServiceProvider)
Instantiates a new oauth2 plugin.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected reactor.core.publisher.Mono<java.lang.Void> |
doExecute(org.springframework.web.server.ServerWebExchange exchange,
org.apache.shenyu.plugin.api.ShenyuPluginChain chain,
org.apache.shenyu.common.dto.SelectorData selector,
org.apache.shenyu.common.dto.RuleData rule) |
int |
getOrder() |
java.lang.String |
named() |
boolean |
skip(org.springframework.web.server.ServerWebExchange exchange) |
execute, handleRuleIfNull, handleSelectorIfNullpublic OAuth2Plugin(org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.ReactiveOAuth2AuthorizedClientService> authorizedClientServiceProvider)
authorizedClientServiceProvider - the authorized client service providerprotected reactor.core.publisher.Mono<java.lang.Void> doExecute(org.springframework.web.server.ServerWebExchange exchange,
org.apache.shenyu.plugin.api.ShenyuPluginChain chain,
org.apache.shenyu.common.dto.SelectorData selector,
org.apache.shenyu.common.dto.RuleData rule)
doExecute 在类中 org.apache.shenyu.plugin.base.AbstractShenyuPluginpublic int getOrder()
public java.lang.String named()
public boolean skip(org.springframework.web.server.ServerWebExchange exchange)
Copyright © 2026 The Apache Software Foundation. All rights reserved.