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.

X509Url   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 12
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
3
namespace Emarref\Jwt\HeaderParameter;
4
5
/**
6
 * "x5u" (X.509 URL) Header Parameter
7
 *
8
 * The "x5u" (X.509 URL) Header Parameter is a URI [RFC3986] that refers to a resource for the X.509 public key
9
 * certificate or certificate chain [RFC5280] corresponding to the key used to digitally sign the JWS.  The identified
10
 * resource MUST provide a representation of the certificate or certificate chain that conforms to RFC 5280 [RFC5280] in
11
 * PEM encoded form, with each certificate delimited as specified in Section 6.1 of RFC 4945 [RFC4945].  The certificate
12
 * containing the public key corresponding to the key used to digitally sign the JWS MUST be the first certificate.
13
 * This MAY be followed by additional certificates, with each subsequent certificate being the one used to certify the
14
 * previous one.  The protocol used to acquire the resource MUST provide integrity protection; an HTTP GET request to
15
 * retrieve the certificate MUST use TLS [RFC2818, RFC5246]; the identity of the server MUST be validated, as per
16
 * Section 6 of RFC 6125 [RFC6125]. Also, see Section 8 on TLS requirements.  Use of this Header Parameter is OPTIONAL.
17
 */
18
class X509Url extends AbstractParameter
19
{
20
    const NAME = 'x5u';
21
22
    /**
23
     * @return string
24
     */
25
    public function getName()
26
    {
27
        return self::NAME;
28
    }
29
}
30