PHP OAuth1 provider for Canonical MaaS

152 Views Asked by At

I'm trying to authenticate to the MAAS REST API through PHP but I'm not having any luck finding the best way to do so. Basing on the (outdated) examples here: https://maas.io/docs/snap/3.0/ui/api-authentication for ruby and python you need to send the 3 parts of the key but all examples using PHP OAuth1 have only 2 parts of the key so I'm wondering if there is anything about that would allow me to use PHP with MAAS.

TIA

0

There are 0 best solutions below