Jose\JWTCreatorInterface::sign PHP Method

sign() public method

public sign ( mixed $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key ) : string
$payload mixed
$signature_protected_headers array
$signature_key Jose\Object\JWKInterface
return string
    public function sign($payload, array $signature_protected_headers, Object\JWKInterface $signature_key);