Interface DeviceCodeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DeviceCode, DeviceCode.Builder

@Generated public interface DeviceCodeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The device code used internally for polling authentication status.
    com.google.protobuf.ByteString
    The device code used internally for polling authentication status.
    A URL that includes the user_code as a parameter for one-click verification.
    com.google.protobuf.ByteString
    A URL that includes the user_code as a parameter for one-click verification.
    The short alphanumeric code the user must enter at the verification URI.
    com.google.protobuf.ByteString
    The short alphanumeric code the user must enter at the verification URI.
    The URL where the user must go to enter the user_code.
    com.google.protobuf.ByteString
    The URL where the user must go to enter the user_code.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDeviceCode

      String getDeviceCode()
      The device code used internally for polling authentication status.
      This is not shown to the user.
      
      string device_code = 1;
      Returns:
      The deviceCode.
    • getDeviceCodeBytes

      com.google.protobuf.ByteString getDeviceCodeBytes()
      The device code used internally for polling authentication status.
      This is not shown to the user.
      
      string device_code = 1;
      Returns:
      The bytes for deviceCode.
    • getUserCode

      String getUserCode()
      The short alphanumeric code the user must enter at the verification URI.
      Typically displayed to the user for manual entry.
      
      string user_code = 2;
      Returns:
      The userCode.
    • getUserCodeBytes

      com.google.protobuf.ByteString getUserCodeBytes()
      The short alphanumeric code the user must enter at the verification URI.
      Typically displayed to the user for manual entry.
      
      string user_code = 2;
      Returns:
      The bytes for userCode.
    • getVerificationUri

      String getVerificationUri()
      The URL where the user must go to enter the user_code.
      Example: "https://microsoft.com/devicelogin"
      
      string verification_uri = 3;
      Returns:
      The verificationUri.
    • getVerificationUriBytes

      com.google.protobuf.ByteString getVerificationUriBytes()
      The URL where the user must go to enter the user_code.
      Example: "https://microsoft.com/devicelogin"
      
      string verification_uri = 3;
      Returns:
      The bytes for verificationUri.
    • getDirectVerificationUri

      String getDirectVerificationUri()
      A URL that includes the user_code as a parameter for one-click verification.
      Users can visit this URL directly without manually entering the code.
      Example: "https://microsoft.com/devicelogin?otc=ABCD1234"
      
      string direct_verification_uri = 4;
      Returns:
      The directVerificationUri.
    • getDirectVerificationUriBytes

      com.google.protobuf.ByteString getDirectVerificationUriBytes()
      A URL that includes the user_code as a parameter for one-click verification.
      Users can visit this URL directly without manually entering the code.
      Example: "https://microsoft.com/devicelogin?otc=ABCD1234"
      
      string direct_verification_uri = 4;
      Returns:
      The bytes for directVerificationUri.