You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
547 B
22 lines
547 B
3 years ago
|
package com.fr.plugin;
|
||
|
|
||
|
import com.fr.decision.fun.HttpHandler;
|
||
|
import com.fr.decision.fun.impl.AbstractHttpHandlerProvider;
|
||
|
import com.fr.plugin.transform.ExecuteFunctionRecord;
|
||
|
import com.fr.plugin.transform.FunctionRecorder;
|
||
|
|
||
|
@FunctionRecorder
|
||
|
/**
|
||
|
* url处理器需要在这里注册
|
||
|
*/
|
||
|
public class MSauth2HandlerProvider extends AbstractHttpHandlerProvider {
|
||
|
@Override
|
||
|
@ExecuteFunctionRecord
|
||
|
public HttpHandler[] registerHandlers() {
|
||
|
return new HttpHandler[]{
|
||
|
new MSAuthCallbackApi()
|
||
|
};
|
||
|
}
|
||
|
|
||
|
}
|