@InterfaceAudience.Private public class TokenProvider extends Object implements AuthenticationProtos.AuthenticationService.Interface, Coprocessor, CoprocessorService
AuthenticationProtos
AuthenticationService coprocessor service.Coprocessor.State
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
Constructor and Description |
---|
TokenProvider() |
Modifier and Type | Method and Description |
---|---|
void |
getAuthenticationToken(com.google.protobuf.RpcController controller,
AuthenticationProtos.GetAuthenticationTokenRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
rpc GetAuthenticationToken(.GetAuthenticationTokenRequest) returns (.GetAuthenticationTokenResponse); |
com.google.protobuf.Service |
getService() |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
void |
whoAmI(com.google.protobuf.RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.WhoAmIResponse> done)
rpc WhoAmI(.WhoAmIRequest) returns (.WhoAmIResponse); |
public void start(CoprocessorEnvironment env)
start
in interface Coprocessor
public void stop(CoprocessorEnvironment env) throws IOException
stop
in interface Coprocessor
IOException
public com.google.protobuf.Service getService()
getService
in interface CoprocessorService
public void getAuthenticationToken(com.google.protobuf.RpcController controller, AuthenticationProtos.GetAuthenticationTokenRequest request, com.google.protobuf.RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
AuthenticationProtos.AuthenticationService.Interface
rpc GetAuthenticationToken(.GetAuthenticationTokenRequest) returns (.GetAuthenticationTokenResponse);
getAuthenticationToken
in interface AuthenticationProtos.AuthenticationService.Interface
public void whoAmI(com.google.protobuf.RpcController controller, AuthenticationProtos.WhoAmIRequest request, com.google.protobuf.RpcCallback<AuthenticationProtos.WhoAmIResponse> done)
AuthenticationProtos.AuthenticationService.Interface
rpc WhoAmI(.WhoAmIRequest) returns (.WhoAmIResponse);
whoAmI
in interface AuthenticationProtos.AuthenticationService.Interface
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.