public function setClaim($claim, $value)
    {
        if (in_array(
            $claim,
            [
                'sub',
                'name',
                'given_name',
                'middle_name',
                'family_name',
                'nickname',
                'preferred_username',
                'profile',
                'picture',
                'website',
                'email',
                'email_verified',
                'gender',
                'birthdate',
                'zoneinfo',
                'locale',
                'phone_number',
                'phone_number_verified',
                'address',
            ]
        )) {
            throw new \InvalidArgumentException(
                sprintf(
                    'Please use the relevant method to set the `%s` claim',
                    $claim
                )
            );
        }

        $this->attributes[$claim] = $value;
    }