Automattic\WooCommerce\Admin\API
MobileAppQRLogin::get_token_claim_key
Build the option name used for a token exchange claim.
Method of the class: MobileAppQRLogin{}
No Hooks.
Returns
String.
Usage
// private - for code of main (parent) class only $result = $this->get_token_claim_key( $token_hash );
- $token_hash(string) (required)
- SHA-256 hash of the plaintext token.
MobileAppQRLogin::get_token_claim_key() MobileAppQRLogin::get token claim key code WC 11.0.1
private function get_token_claim_key( $token_hash ) {
return self::CLAIM_OPTION_PREFIX . $token_hash;
}