@@ -412,6 +412,134 @@ def update!(**args)
412412 end
413413 end
414414
415+ # A JSON web key set (JWK) See also https://datatracker.ietf.org/doc/html/
416+ # rfc7517 and https://github.com/spiffe/spiffe/blob/main/standards/JWT-SVID.md#6-
417+ # representation-in-the-spiffe-bundle
418+ class GoogleIdentityStsV1Jwk
419+ include Google ::Apis ::Core ::Hashable
420+
421+ # Exponent value for kty="RSA".
422+ # Corresponds to the JSON property `e`
423+ # @return [String]
424+ attr_accessor :e
425+
426+ # Key ID.
427+ # Corresponds to the JSON property `kid`
428+ # @return [String]
429+ attr_accessor :kid
430+
431+ # Key type. Currently "RSA".
432+ # Corresponds to the JSON property `kty`
433+ # @return [String]
434+ attr_accessor :kty
435+
436+ # Modulus value for kty="RSA".
437+ # Corresponds to the JSON property `n`
438+ # @return [String]
439+ attr_accessor :n
440+
441+ # Public key use. Currently "jwt-svid".
442+ # Corresponds to the JSON property `use`
443+ # @return [String]
444+ attr_accessor :use
445+
446+ def initialize ( **args )
447+ update! ( **args )
448+ end
449+
450+ # Update properties of this object
451+ def update! ( **args )
452+ @e = args [ :e ] if args . key? ( :e )
453+ @kid = args [ :kid ] if args . key? ( :kid )
454+ @kty = args [ :kty ] if args . key? ( :kty )
455+ @n = args [ :n ] if args . key? ( :n )
456+ @use = args [ :use ] if args . key? ( :use )
457+ end
458+ end
459+
460+ # Response message for GetJwks.
461+ class GoogleIdentityStsV1Jwks
462+ include Google ::Apis ::Core ::Hashable
463+
464+ # The JWKS for this OP.
465+ # Corresponds to the JSON property `keys`
466+ # @return [Array<Google::Apis::StsV1::GoogleIdentityStsV1Jwk>]
467+ attr_accessor :keys
468+
469+ def initialize ( **args )
470+ update! ( **args )
471+ end
472+
473+ # Update properties of this object
474+ def update! ( **args )
475+ @keys = args [ :keys ] if args . key? ( :keys )
476+ end
477+ end
478+
479+ # Response message for GetOpenIdProviderConfig. Message fields are defined in
480+ # https://openid.net/specs/openid-connect-discovery-1_0.html#
481+ # ProviderConfigurationResponse
482+ class GoogleIdentityStsV1OpenIdProviderConfig
483+ include Google ::Apis ::Core ::Hashable
484+
485+ # URL pointing to an authorization endpoint under this issuer. Note: Currently
486+ # this endpoint returns a 404.
487+ # Corresponds to the JSON property `authorization_endpoint`
488+ # @return [String]
489+ attr_accessor :authorization_endpoint
490+
491+ # JSON array containing a list of the JWS signing algorithms (alg values)
492+ # supported by the OP for the ID token to encode the claims in a JWT [JWT]. Note:
493+ # Currently always "["RS256"]".
494+ # Corresponds to the JSON property `id_token_signing_alg_values_supported`
495+ # @return [Array<String>]
496+ attr_accessor :id_token_signing_alg_values_supported
497+
498+ # URL using the https scheme with no query or fragment components that the OP
499+ # asserts as its issuer identifier.
500+ # Corresponds to the JSON property `issuer`
501+ # @return [String]
502+ attr_accessor :issuer
503+
504+ # URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
505+ # Corresponds to the JSON property `jwks_uri`
506+ # @return [String]
507+ attr_accessor :jwks_uri
508+
509+ # JSON array containing a list of the OAuth 2.0 response_type values that this
510+ # OP supports. Note: Currently always "["id_token"]".
511+ # Corresponds to the JSON property `response_types_supported`
512+ # @return [Array<String>]
513+ attr_accessor :response_types_supported
514+
515+ # JSON array containing a list of the subject identifier types that this OP
516+ # supports. Note: Currently always "["public"]".
517+ # Corresponds to the JSON property `subject_types_supported`
518+ # @return [Array<String>]
519+ attr_accessor :subject_types_supported
520+
521+ # URL pointing to a token endpoint under this issuer. Note: Currently this
522+ # endpoint returns a 404.
523+ # Corresponds to the JSON property `token_endpoint`
524+ # @return [String]
525+ attr_accessor :token_endpoint
526+
527+ def initialize ( **args )
528+ update! ( **args )
529+ end
530+
531+ # Update properties of this object
532+ def update! ( **args )
533+ @authorization_endpoint = args [ :authorization_endpoint ] if args . key? ( :authorization_endpoint )
534+ @id_token_signing_alg_values_supported = args [ :id_token_signing_alg_values_supported ] if args . key? ( :id_token_signing_alg_values_supported )
535+ @issuer = args [ :issuer ] if args . key? ( :issuer )
536+ @jwks_uri = args [ :jwks_uri ] if args . key? ( :jwks_uri )
537+ @response_types_supported = args [ :response_types_supported ] if args . key? ( :response_types_supported )
538+ @subject_types_supported = args [ :subject_types_supported ] if args . key? ( :subject_types_supported )
539+ @token_endpoint = args [ :token_endpoint ] if args . key? ( :token_endpoint )
540+ end
541+ end
542+
415543 # An `Options` object configures features that the Security Token Service
416544 # supports, but that are not supported by standard OAuth 2.0 token exchange
417545 # endpoints, as defined in https://tools.ietf.org/html/rfc8693.
0 commit comments