public static final class AuthenticationServiceGrpc.AuthenticationServiceStub extends io.grpc.stub.AbstractStub<AuthenticationServiceGrpc.AuthenticationServiceStub>
AuthenticationService, allows to use Axon Server as authentication provider
| Modifier and Type | Method and Description |
|---|---|
void |
authenticateToken(Token request,
io.grpc.stub.StreamObserver<ApplicationRoles> responseObserver)
Authenticate based on an application token, returns the application's roles
|
void |
authenticateUser(AuthenticateUserRequest request,
io.grpc.stub.StreamObserver<UserRoles> responseObserver)
Authenticate a user, returns the user's roles
|
protected AuthenticationServiceGrpc.AuthenticationServiceStub |
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.AuthenticationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AuthenticationServiceGrpc.AuthenticationServiceStub>public void authenticateUser(AuthenticateUserRequest request, io.grpc.stub.StreamObserver<UserRoles> responseObserver)
Authenticate a user, returns the user's roles
public void authenticateToken(Token request, io.grpc.stub.StreamObserver<ApplicationRoles> responseObserver)
Authenticate based on an application token, returns the application's roles
Copyright © 2020–2023 AxonIQ BV. All rights reserved.