docs/OAuthApi.md

OAuthApi

All URIs are relative to http://localhost

Method | HTTP request | Description ------------- | ------------- | ------------- GetRefreshTokenStatus | GET /api/refresh-token-status | deprecated HandleOauthCode | POST /handle-oauth-code | deprecated

GetRefreshTokenStatus

object GetRefreshTokenStatus()

deprecated

This API is a deprecated noop. Previously, it returned the status of the current user's refresh token. Since refresh tokens are no longer used in the back end, this API is now hardcoded to respond as if the user's refresh token is valid. This API may be removed in a future release.

Example

library(openapi)


#deprecated
api.instance <- OAuthApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetRefreshTokenStatus()
dput(result)

Parameters

This endpoint does not need any parameter.

Return type

object

Authorization

googleoauth

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - |

HandleOauthCode

HandleOauthCode(body=var.body)

deprecated

This API is a deprecated noop. Previously, it allowed the server to acquire a refresh token. Since refresh tokens are no longer used in the back end, this API is now hardcoded to respond as if it successfully acquired a refresh token, without doing any actual work. This API may be removed in a future release.

Example

library(openapi)

var.body <- inline_object_5$new("code_example", "redirectUri_example") # InlineObject5 | 

#deprecated
api.instance <- OAuthApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$HandleOauthCode(body=var.body)

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- body | InlineObject5| | [optional]

Return type

void (empty response body)

Authorization

googleoauth

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | All set | - |



vjcitn/terraClientR documentation built on Dec. 23, 2021, 4:07 p.m.