Interface DeviceCodeAuthResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeviceCodeAuthResponse, DeviceCodeAuthResponse.Builder
@Generated
public interface DeviceCodeAuthResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe successfully authenticated Minecraft account.The successfully authenticated Minecraft account.The device code information for user authorization.The device code information for user authorization.booleanThe successfully authenticated Minecraft account.booleanThe device code information for user authorization.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAccount
boolean hasAccount()The successfully authenticated Minecraft account. Sent after the user completes the device code authorization flow. This is the final message in the stream.
.soulfire.v1.MinecraftAccountProto account = 1;- Returns:
- Whether the account field is set.
-
getAccount
MinecraftAccountProto getAccount()The successfully authenticated Minecraft account. Sent after the user completes the device code authorization flow. This is the final message in the stream.
.soulfire.v1.MinecraftAccountProto account = 1;- Returns:
- The account.
-
getAccountOrBuilder
MinecraftAccountProtoOrBuilder getAccountOrBuilder()The successfully authenticated Minecraft account. Sent after the user completes the device code authorization flow. This is the final message in the stream.
.soulfire.v1.MinecraftAccountProto account = 1; -
hasDeviceCode
boolean hasDeviceCode()The device code information for user authorization. Sent first in the stream. The client should display this to the user so they can complete authentication in their browser. The stream will wait (up to 15 minutes) for the user to authorize.
.soulfire.v1.DeviceCode device_code = 2;- Returns:
- Whether the deviceCode field is set.
-
getDeviceCode
DeviceCode getDeviceCode()The device code information for user authorization. Sent first in the stream. The client should display this to the user so they can complete authentication in their browser. The stream will wait (up to 15 minutes) for the user to authorize.
.soulfire.v1.DeviceCode device_code = 2;- Returns:
- The deviceCode.
-
getDeviceCodeOrBuilder
DeviceCodeOrBuilder getDeviceCodeOrBuilder()The device code information for user authorization. Sent first in the stream. The client should display this to the user so they can complete authentication in their browser. The stream will wait (up to 15 minutes) for the user to authorize.
.soulfire.v1.DeviceCode device_code = 2; -
getDataCase
DeviceCodeAuthResponse.DataCase getDataCase()
-