Cmdlets for WordPress

Build 24.0.9062

GetOAuthAccessToken

Gets the OAuth access token from Wordpress.

Input

Name Type Description
AuthMode String The type of authentication mode to use. The allowed values are APP, WEB.
Scope String The scope or permissions you are requesting.

デフォルト値はuser public_repo repo repo_deployment repo:status repo:invite delete_repo notifications admin:orgです。

CallbackUrl String The URL the user will be redirected to after authorizing your application.
Verifier String The verifier returned from Wordpress after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL.
State String This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to Google authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.

Result Set Columns

Name Type Description
OAuthAccessToken String The authentication token returned from Wordpress.
OAuthRefreshToken String A token that may be used to obtain a new access token.
ExpiresIn String The remaining lifetime for the access token in seconds.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062