Package io.axoniq.axonserver.grpc.admin
Class AuthenticationServiceGrpc.AuthenticationServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<AuthenticationServiceGrpc.AuthenticationServiceFutureStub>
-
- io.axoniq.axonserver.grpc.admin.AuthenticationServiceGrpc.AuthenticationServiceFutureStub
-
- Enclosing class:
- AuthenticationServiceGrpc
public static final class AuthenticationServiceGrpc.AuthenticationServiceFutureStub extends io.grpc.stub.AbstractFutureStub<AuthenticationServiceGrpc.AuthenticationServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AuthenticationService.AuthenticationService, allows to use Axon Server as authentication provider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<ApplicationRoles>authenticateToken(Token request)Authenticate based on an application token, returns the application's rolescom.google.common.util.concurrent.ListenableFuture<UserRoles>authenticateUser(AuthenticateUserRequest request)Authenticate a user, returns the user's rolesprotected AuthenticationServiceGrpc.AuthenticationServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected AuthenticationServiceGrpc.AuthenticationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<AuthenticationServiceGrpc.AuthenticationServiceFutureStub>
-
authenticateUser
public com.google.common.util.concurrent.ListenableFuture<UserRoles> authenticateUser(AuthenticateUserRequest request)
Authenticate a user, returns the user's roles
-
authenticateToken
public com.google.common.util.concurrent.ListenableFuture<ApplicationRoles> authenticateToken(Token request)
Authenticate based on an application token, returns the application's roles
-
-