{ "opencollection": "1.0.0", "info": { "name": "FusionAuth Api Key Oauth2 API", "version": "1.66.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Oauth2", "type": "folder" }, "items": [ { "info": { "name": "createDeviceApprove", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/oauth2/device/approve" }, "docs": "Approve a device grant. OR Approve a device grant." }, { "info": { "name": "retrieveDeviceUserCode", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9011/oauth2/device/user-code" }, "docs": "Retrieve a user_code that is part of an in-progress Device Authorization Grant. This API is useful if you want to build your own login workflow to complete a device grant. This request will require an API key. OR Retrieve a user_code that is part of an in-progress Device Authorization Grant. This API is useful if you want to build your own login workflow to complete a device grant." }, { "info": { "name": "createDeviceUserCode", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/oauth2/device/user-code" }, "docs": "Retrieve a user_code that is part of an in-progress Device Authorization Grant. This API is useful if you want to build your own login workflow to complete a device grant. OR Retrieve a user_code that is part of an in-progress Device Authorization Grant. This API is useful if you want to build your own login workflow to complete a device grant. This request will require an API key." }, { "info": { "name": "retrieveDeviceValidate", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9011/oauth2/device/validate", "params": [ { "name": "user_code", "value": "", "type": "query", "description": "The end-user verification code." }, { "name": "client_id", "value": "", "type": "query", "description": "The client Id." } ] }, "docs": "Validates the end-user provided user_code from the user-interaction of the Device Authorization Grant. If you build your own activation form you should validate the user provided code prior to beginning the Authorization grant. OR Validates the end-user provided user_code from the user-interaction of the Device Authorization Grant. If you build your own activation form you should validate the user provided code prior to beginning the Authorization grant." }, { "info": { "name": "createDevice_authorize", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/oauth2/device_authorize" }, "docs": "Start the Device Authorization flow using a request body OR Start the Device Authorization flow using form-encoded parameters" }, { "info": { "name": "createIntrospect", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/oauth2/introspect" }, "docs": "Inspect an access token issued as the result of the Client Credentials Grant. OR Inspect an access token issued as the result of the Client Credentials Grant. OR Inspect an access token issued as the result of the User based grant such as the Authorization Code Grant, Implicit Grant, the User Credentials Grant or the Refresh Grant. OR Inspect an access token issued as the result of the User based grant such as the Authorization Code Grant, Implicit Grant, the User Credentials Grant or the Refres" }, { "info": { "name": "createToken", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/oauth2/token" }, "docs": "Exchange User Credentials for a Token. If you will be using the Resource Owner Password Credential Grant, you will make a request to the Token endpoint to exchange the user’s email and password for an access token. OR Exchange User Credentials for a Token. If you will be using the Resource Owner Password Credential Grant, you will make a request to the Token endpoint to exchange the user’s email and password for an access token. OR Exchange a Refresh Token for an Access Token. If you will be usi" }, { "info": { "name": "retrieveUserInfoFromAccessTokenWithId", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9011/oauth2/userinfo", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Call the UserInfo endpoint to retrieve User Claims from the access token issued by FusionAuth." } ] } ], "bundled": true }