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.
25 lines
660 B
25 lines
660 B
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; |
|
import com.fr.stable.fun.Authorize; |
|
|
|
@FunctionRecorder |
|
/** |
|
* url处理器需要在这里注册 |
|
*/ |
|
@Authorize |
|
public class TCauth2HandlerProvider extends AbstractHttpHandlerProvider { |
|
@Override |
|
@ExecuteFunctionRecord |
|
public HttpHandler[] registerHandlers() { |
|
return new HttpHandler[]{ |
|
new GoAuthApi(), |
|
new GetTicket(), |
|
new TCAuthCallbackApi() |
|
}; |
|
} |
|
|
|
}
|
|
|