GetOAuthAuthorizationURL
Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the auth token from this URL.
Input
Name | Type | Required | Description |
CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the Yahoo Shopping app settings. |
Scope | String | False | A space-separated list of permissions to request from the user. Available values include: openid, profile, email, address
デフォルト値はopenid profile email addressです。 |
State | String | False | 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 the Yahoo Shopping authorization server and back. Possible uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Nonce | String | False | A parameter used for replay attack countermeasure. For each request, specify a random character string of sufficient length. The specified nonce value is included in the ID Token and returned. In order to prevent reuse of ID Token, verify the nonce value and confirm that the same ID Token is not used more than once. |
Display | String | False | The type of page to be displayed on the login screen and consent screen. If it is not specified, page is the default value.
使用できる値は次のとおりです。page, touch, popup, inapp デフォルト値はpageです。 |
Prompt | String | False | The action you want the user to take. To specify more than one, separate it with a space. Available values include: consent,login,select_account,none
デフォルト値はselect_accountです。 |
MaxAge | String | False | Specify the maximum authentication elapsed time. Reauthentication is required if the time since authentication has passed the number of specified seconds.
デフォルト値は3600です。 |
Result Set Columns
Name | Type | Description |
URL | String | The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app. |