public static final class AuthenticationServiceGrpc.AuthenticationServiceFutureStub extends io.grpc.stub.AbstractStub<AuthenticationServiceGrpc.AuthenticationServiceFutureStub>
AuthenticationService, allows to use Axon Server as authentication provider
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<ApplicationRoles> |
authenticateToken(Token request)
Authenticate based on an application token, returns the application's roles
|
com.google.common.util.concurrent.ListenableFuture<UserRoles> |
authenticateUser(AuthenticateUserRequest request)
Authenticate a user, returns the user's roles
|
protected AuthenticationServiceGrpc.AuthenticationServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected AuthenticationServiceGrpc.AuthenticationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AuthenticationServiceGrpc.AuthenticationServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<UserRoles> authenticateUser(AuthenticateUserRequest request)
Authenticate a user, returns the user's roles
public com.google.common.util.concurrent.ListenableFuture<ApplicationRoles> authenticateToken(Token request)
Authenticate based on an application token, returns the application's roles
Copyright © 2020–2023 AxonIQ BV. All rights reserved.