Class: MethodRuby::Models::Teams::MleJwksResponse::Key

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/method_ruby/models/teams/mle_jwks_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(alg:, e:, kid:, kty:, n:, use:) ⇒ Object

Parameters:

  • alg (String)

    JWK algorithm.

  • e (String)

    RSA public exponent.

  • kid (String)

    Key identifier.

  • kty (String)

    Key type.

  • n (String)

    RSA modulus.

  • use (String)

    Intended key use.



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/method_ruby/models/teams/mle_jwks_response.rb', line 17

class Key < MethodRuby::Internal::Type::BaseModel
  # @!attribute alg
  #   JWK algorithm.
  #
  #   @return [String]
  required :alg, String

  # @!attribute e
  #   RSA public exponent.
  #
  #   @return [String]
  required :e, String

  # @!attribute kid
  #   Key identifier.
  #
  #   @return [String]
  required :kid, String

  # @!attribute kty
  #   Key type.
  #
  #   @return [String]
  required :kty, String

  # @!attribute n
  #   RSA modulus.
  #
  #   @return [String]
  required :n, String

  # @!attribute use
  #   Intended key use.
  #
  #   @return [String]
  required :use, String

  # @!method initialize(alg:, e:, kid:, kty:, n:, use:)
  #   @param alg [String] JWK algorithm.
  #
  #   @param e [String] RSA public exponent.
  #
  #   @param kid [String] Key identifier.
  #
  #   @param kty [String] Key type.
  #
  #   @param n [String] RSA modulus.
  #
  #   @param use [String] Intended key use.
end

Instance Attribute Details

#algString

JWK algorithm.

Returns:

  • (String)


22
# File 'lib/method_ruby/models/teams/mle_jwks_response.rb', line 22

required :alg, String

#eString

RSA public exponent.

Returns:

  • (String)


28
# File 'lib/method_ruby/models/teams/mle_jwks_response.rb', line 28

required :e, String

#kidString

Key identifier.

Returns:

  • (String)


34
# File 'lib/method_ruby/models/teams/mle_jwks_response.rb', line 34

required :kid, String

#ktyString

Key type.

Returns:

  • (String)


40
# File 'lib/method_ruby/models/teams/mle_jwks_response.rb', line 40

required :kty, String

#nString

RSA modulus.

Returns:

  • (String)


46
# File 'lib/method_ruby/models/teams/mle_jwks_response.rb', line 46

required :n, String

#useString

Intended key use.

Returns:

  • (String)


52
# File 'lib/method_ruby/models/teams/mle_jwks_response.rb', line 52

required :use, String