Cheetah
UserClaimsInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace OAuth2\OpenID\Storage;
4 
10 {
11  // valid scope values to pass into the user claims API call
12  const VALID_CLAIMS = 'profile email address phone';
13 
14  // fields returned for the claims above
15  const PROFILE_CLAIM_VALUES = 'name family_name given_name middle_name nickname preferred_username profile picture website gender birthdate zoneinfo locale updated_at';
16  const EMAIL_CLAIM_VALUES = 'email email_verified';
17  const ADDRESS_CLAIM_VALUES = 'formatted street_address locality region postal_code country';
18  const PHONE_CLAIM_VALUES = 'phone_number phone_number_verified';
19 
37  public function getUserClaims($user_id, $scope);
38 }
OAuth2\OpenID\Storage\UserClaimsInterface
Definition: UserClaimsInterface.php:10
OAuth2\OpenID\Storage\UserClaimsInterface\PROFILE_CLAIM_VALUES
const PROFILE_CLAIM_VALUES
Definition: UserClaimsInterface.php:15
OAuth2\OpenID\Storage\UserClaimsInterface\PHONE_CLAIM_VALUES
const PHONE_CLAIM_VALUES
Definition: UserClaimsInterface.php:18
OAuth2\OpenID\Storage\UserClaimsInterface\EMAIL_CLAIM_VALUES
const EMAIL_CLAIM_VALUES
Definition: UserClaimsInterface.php:16
php
OAuth2\OpenID\Storage\UserClaimsInterface\getUserClaims
getUserClaims($user_id, $scope)
OAuth2\OpenID\Storage\UserClaimsInterface\ADDRESS_CLAIM_VALUES
const ADDRESS_CLAIM_VALUES
Definition: UserClaimsInterface.php:17
OAuth2\OpenID\Storage\UserClaimsInterface\VALID_CLAIMS
const VALID_CLAIMS
Definition: UserClaimsInterface.php:12
OAuth2\OpenID\Storage
Definition: AuthorizationCodeInterface.php:3