PHP 클래스 Attribute_Provider

파일 보기 프로젝트 열기: openid/php-openid

공개 메소드들

메소드 설명
__construct ( string $public_key_certificate, string $private_key, string $notBefore, string $notOnOrAfter, string $rsadsa, string $acsURI, string $assertionTemplate ) Creates an Attribute_Provider object initialized with startup values.
sign ( string $openid, string $attribute, string $value ) Create the signed assertion.

메소드 상세

__construct() 공개 메소드

Creates an Attribute_Provider object initialized with startup values.
public __construct ( string $public_key_certificate, string $private_key, string $notBefore, string $notOnOrAfter, string $rsadsa, string $acsURI, string $assertionTemplate )
$public_key_certificate string - The public key certificate of the signer.
$private_key string - The private key of the signer.
$notBefore string - Certificate validity time
$notOnOrAfter string - Certificate validity time
$rsadsa string - Choice of the algorithm (RSA/DSA)
$acsURI string - URI of the signer.
$assertionTemplate string - SAML template used for assertion

sign() 공개 메소드

Create the signed assertion.
public sign ( string $openid, string $attribute, string $value )
$openid string - Openid of the entity being asserted.
$attribute string - The attribute name being asserted.
$value string - The attribute value being asserted.