Package io.axoniq.axonserver.grpc.admin
Class AuthenticationServiceGrpc.AuthenticationServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<AuthenticationServiceGrpc.AuthenticationServiceBlockingStub>
-
- io.axoniq.axonserver.grpc.admin.AuthenticationServiceGrpc.AuthenticationServiceBlockingStub
-
- Enclosing class:
- AuthenticationServiceGrpc
public static final class AuthenticationServiceGrpc.AuthenticationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<AuthenticationServiceGrpc.AuthenticationServiceBlockingStub>
A stub to allow clients to do limited synchronous 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 ApplicationRolesauthenticateToken(Token request)Authenticate based on an application token, returns the application's rolesUserRolesauthenticateUser(AuthenticateUserRequest request)Authenticate a user, returns the user's rolesprotected AuthenticationServiceGrpc.AuthenticationServiceBlockingStubbuild(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.AuthenticationServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<AuthenticationServiceGrpc.AuthenticationServiceBlockingStub>
-
authenticateUser
public UserRoles authenticateUser(AuthenticateUserRequest request)
Authenticate a user, returns the user's roles
-
authenticateToken
public ApplicationRoles authenticateToken(Token request)
Authenticate based on an application token, returns the application's roles
-
-