box-open-sdk 0.1.1

Generated Box API SDK for Rust (community, unofficial).
Documentation
<!-- Generated by box-gantry. DO NOT EDIT. -->
# AuthorizationManager

Reach these methods through the `authorization` field on `client::Client`.

## authorize

`GET /authorize`

| Parameter | In | Type | Required |
|---|---|---|---|
| `response_type` | query | `GetAuthorizeResponseType` | yes |
| `client_id` | query | `String` | yes |
| `redirect_uri` | query | `String` | no |
| `state` | query | `String` | no |
| `scope` | query | `String` | no |

**Returns:** text (`String`)

## create_oauth2_token

`POST /oauth2/token`

**Request body** (`application/x-www-form-urlencoded`): `PostOAuth2Token`

**Returns:** `AccessToken`

## create_oauth2_token_refresh

`POST /oauth2/token`

**Request body** (`application/x-www-form-urlencoded`): `PostOAuth2TokenRefreshAccessToken`

**Returns:** `AccessToken`

## revoke_oauth2

`POST /oauth2/revoke`

**Request body** (`application/x-www-form-urlencoded`): `PostOAuth2Revoke`

**Returns:** no content