GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

JwkSetUrl::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Emarref\Jwt\HeaderParameter;
4
5
/**
6
 * "jku" (JWK Set URL) Header Parameter
7
 *
8
 * The "jku" (JWK Set URL) Header Parameter is a URI [RFC3986] that refers to a resource for a set of JSON-encoded
9
 * public keys, one of which corresponds to the key used to digitally sign the JWS.  The keys MUST be encoded as a JSON
10
 * Web Key Set (JWK Set) [JWK].  The protocol used to acquire the resource MUST provide integrity protection; an HTTP
11
 * GET request to retrieve the JWK Set MUST use TLS [RFC2818, RFC5246]; the identity of the server MUST be validated, as
12
 * per Section 6 of RFC 6125 [RFC6125].  Also, see Section 8 on TLS requirements.  Use of this Header Parameter is
13
 * OPTIONAL.
14
 */
15
class JwkSetUrl extends AbstractParameter
16
{
17
    const NAME = 'jku';
18
19
    /**
20
     * @return string
21
     */
22
    public function getName()
23
    {
24
        return self::NAME;
25
    }
26
}
27