proto_docs/google/api/auth.rb in google-cloud-service_usage-v1-0.2.0 vs proto_docs/google/api/auth.rb in google-cloud-service_usage-v1-0.2.1
- old
+ new
@@ -84,10 +84,13 @@
# @return [::String]
# Specifies HTTP header name to extract JWT token.
# @!attribute [rw] query
# @return [::String]
# Specifies URL query parameter name to extract JWT token.
+ # @!attribute [rw] cookie
+ # @return [::String]
+ # Specifies cookie name to extract JWT token.
# @!attribute [rw] value_prefix
# @return [::String]
# The value prefix. The value format is "value_prefix\\{token}"
# Only applies to "in" header type. Must be empty for "in" query type.
# If not empty, the header value has to match (case sensitive) this prefix.
@@ -155,14 +158,15 @@
# @return [::String]
# Redirect URL if JWT token is required but not present or is expired.
# Implement authorizationUrl of securityDefinitions in OpenAPI spec.
# @!attribute [rw] jwt_locations
# @return [::Array<::Google::Api::JwtLocation>]
- # Defines the locations to extract the JWT.
+ # Defines the locations to extract the JWT. For now it is only used by the
+ # Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
+ # (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
#
- # JWT locations can be either from HTTP headers or URL query parameters.
- # The rule is that the first match wins. The checking order is: checking
- # all headers first, then URL query parameters.
+ # JWT locations can be one of HTTP headers, URL query parameters or
+ # cookies. The rule is that the first match wins.
#
# If not specified, default to use following 3 locations:
# 1) Authorization: Bearer
# 2) x-goog-iap-jwt-assertion
# 3) access_token query parameter