Wireless Access Point
Configuring the Wireless AP 265
Figure 148. OAuth 2.0 Management - Token List
Procedure for Obtaining a Token and Accessing RESTful API on the AP
1. Present User Credentials for a Permanent Token
A user-developed application must register by presenting the following
information to the URL below:
https://[AP hostname or IP address]/oauth/authorize ï€
• grant_type: password
• username: username of an administrator account on the AP.
• client_id: username of an administrator account on the AP
(username and client_id must match).
• password: password for the same administrator account on the AP
The OAuth Authorization API provides a permanent token that the
application may use to access the RESTful API. This token remains valid
until the administrator revokes the token on the OAuth 2.0 Management
page, unless the token file somehow becomes corrupted or is removed
from the AP’s file system.
The token will be removed if the original account associated with it is
deleted.
2. Access the RESTful API
Once registration is completed and a permanent token has been
provided, your application may access the API using the client_id and
the token at the following URL:
https://[AP hostname or IP address]/api/v1/[api-name] ï€