Skip to content

Token Infos #35

@ucola

Description

@ucola

Hi all

Possible to add something like this? That gives you information about a token...

public function tokenInfos($token) {
$url = 'https://iid.googleapis.com/iid/info/' . $token . '?details=true';

return $this->guzzleClient->get(
  $url,
  [
    'headers' => [
      'Authorization' => sprintf('key=%s', $this->apiKey),
      'Content-Type' => 'application/json'
    ],
    'body' => ''
  ]
);

}

Thank you for your answer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions