HEX
Server: nginx/1.28.3
System: Linux lightweb-s1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User: drdrivek-71 (1047)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/mocapict-106/mocapictures.kr/vendor/socialiteproviders/apple/AppleSignerInMemory.php
<?php

declare(strict_types=1);

namespace SocialiteProviders\Apple;

use Lcobucci\JWT\Signer\Key;

final class AppleSignerInMemory implements Key
{
    public string $contents;

    public string $passphrase;

    /** @param  non-empty-string  $contents */
    private function __construct(string $contents, string $passphrase)
    {
        $this->passphrase = $passphrase;
        $this->contents = $contents;
    }

    /** @param  non-empty-string  $contents */
    public static function plainText(string $contents, string $passphrase = ''): self
    {
        return new self($contents, $passphrase);
    }

    public function contents(): string
    {
        return $this->contents;
    }

    public function passphrase(): string
    {
        return $this->passphrase;
    }
}