Firebase App Check API . jwks

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Returns a public JWK set as specified by [RFC 7517](https://tools.ietf.org/html/rfc7517) that can be used to verify App Check tokens. Exactly one of the public keys in the returned set will successfully validate any App Check token that is currently valid.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Returns a public JWK set as specified by [RFC 7517](https://tools.ietf.org/html/rfc7517) that can be used to verify App Check tokens. Exactly one of the public keys in the returned set will successfully validate any App Check token that is currently valid.

Args:
  name: string, Required. The relative resource name to the public JWK set. Must always be exactly the string `jwks`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The currently active set of public keys that can be used to verify App Check tokens. This object is a JWK set as specified by [section 5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-5). For security, the response **must not** be cached for longer than six hours.
  "keys": [ # The set of public keys. See [section 5.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-5).
    { # A JWK as specified by [section 4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4) and [section 6.3.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1).
      "alg": "A String", # See [section 4.4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.4).
      "e": "A String", # See [section 6.3.1.2 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.2).
      "kid": "A String", # See [section 4.5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.5).
      "kty": "A String", # See [section 4.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.1).
      "n": "A String", # See [section 6.3.1.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.1).
      "use": "A String", # See [section 4.2 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.2).
    },
  ],
}