1 | <?php |
||
10 | class JwtServiceAccountFactory implements JwtFactoryInterface |
||
11 | { |
||
12 | |||
13 | public const SCOPE = 'https://ddp.googleapis.com/api/ddp/'; |
||
14 | |||
15 | /** @var ServiceAccount */ |
||
16 | protected $serviceAccount; |
||
17 | |||
18 | public function __construct(ServiceAccount $serviceAccount) |
||
22 | |||
23 | /** |
||
24 | * iss The email address of the service account. |
||
25 | * scope A space-delimited list of the permissions that the application requests. |
||
26 | * aud A descriptor of the intended target of the assertion. When making an access token request this value is |
||
27 | * sub the user to impersonate as there should be a domain wide auth |
||
28 | * always https://www.googleapis.com/oauth2/v4/token. exp The expiration time of the assertion, specified as |
||
29 | * seconds since 00:00:00 UTC, January 1, 1970. This value has a maximum of 1 hour after the issued time. iat |
||
30 | * The time the assertion was issued, specified as seconds since 00:00:00 UTC, January 1, 1970. |
||
31 | * |
||
32 | * @return \Lcobucci\JWT\Token |
||
33 | */ |
||
34 | public function build(): Token |
||
49 | |||
50 | public function getHash(): string |
||
54 | } |
||
55 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.