Class MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub>
com.soulfiremc.grpc.generated.MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub
- Enclosing class:
MCAuthServiceGrpc
public static final class MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service MCAuthService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.BlockingClientCall<?, CredentialsAuthResponse> loginCredentials(CredentialsAuthRequest request) io.grpc.stub.BlockingClientCall<?, DeviceCodeAuthResponse> loginDeviceCode(DeviceCodeAuthRequest request) refresh(RefreshRequest request) Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MCAuthServiceGrpc.MCAuthServiceBlockingV2Stub>
-
loginCredentials
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?, CredentialsAuthResponse> loginCredentials(CredentialsAuthRequest request) -
loginDeviceCode
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?, DeviceCodeAuthResponse> loginDeviceCode(DeviceCodeAuthRequest request) -
refresh
- Throws:
io.grpc.StatusException
-