Interface AuthorizationCodeOAuthFlowOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    The available scopes for the OAuth2 security scheme.
    The authorization URL to be used for this flow.
    com.google.protobuf.ByteString
    The authorization URL to be used for this flow.
    boolean
    Indicates if PKCE (RFC 7636) is required for this flow.
    The URL to be used for obtaining refresh tokens.
    com.google.protobuf.ByteString
    The URL to be used for obtaining refresh tokens.
    Deprecated.
    int
    The available scopes for the OAuth2 security scheme.
    The available scopes for the OAuth2 security scheme.
    getScopesOrDefault(String key, String defaultValue)
    The available scopes for the OAuth2 security scheme.
    The available scopes for the OAuth2 security scheme.
    The token URL to be used for this flow.
    com.google.protobuf.ByteString
    The token URL to be used for this flow.

    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

    • getAuthorizationUrl

      String getAuthorizationUrl()
       The authorization URL to be used for this flow.
       
      string authorization_url = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The authorizationUrl.
    • getAuthorizationUrlBytes

      com.google.protobuf.ByteString getAuthorizationUrlBytes()
       The authorization URL to be used for this flow.
       
      string authorization_url = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for authorizationUrl.
    • getTokenUrl

      String getTokenUrl()
       The token URL to be used for this flow.
       
      string token_url = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The tokenUrl.
    • getTokenUrlBytes

      com.google.protobuf.ByteString getTokenUrlBytes()
       The token URL to be used for this flow.
       
      string token_url = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for tokenUrl.
    • getRefreshUrl

      String getRefreshUrl()
       The URL to be used for obtaining refresh tokens.
       
      string refresh_url = 3;
      Returns:
      The refreshUrl.
    • getRefreshUrlBytes

      com.google.protobuf.ByteString getRefreshUrlBytes()
       The URL to be used for obtaining refresh tokens.
       
      string refresh_url = 3;
      Returns:
      The bytes for refreshUrl.
    • getScopesCount

      int getScopesCount()
       The available scopes for the OAuth2 security scheme.
       
      map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED];
    • containsScopes

      boolean containsScopes(String key)
       The available scopes for the OAuth2 security scheme.
       
      map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED];
    • getScopes

      Deprecated.
      Use getScopesMap() instead.
    • getScopesMap

      Map<String,String> getScopesMap()
       The available scopes for the OAuth2 security scheme.
       
      map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED];
    • getScopesOrDefault

      String getScopesOrDefault(String key, String defaultValue)
       The available scopes for the OAuth2 security scheme.
       
      map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED];
    • getScopesOrThrow

      String getScopesOrThrow(String key)
       The available scopes for the OAuth2 security scheme.
       
      map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED];
    • getPkceRequired

      boolean getPkceRequired()
       Indicates if PKCE (RFC 7636) is required for this flow.
       PKCE should always be used for public clients and is recommended for all clients.
       
      bool pkce_required = 5;
      Returns:
      The pkceRequired.