Package notion.api.v1.endpoint
Interface OAuthSupport
-
- All Implemented Interfaces:
-
notion.api.v1.endpoint.EndpointsSupport
public interface OAuthSupport implements EndpointsSupport
-
-
Method Summary
Modifier and Type Method Description OAuthTokenResult
exchangeAuthCode(String code, String state)
OAuthTokenResult
exchangeAuthCode(ExchangeAuthCodeRequest request)
abstract String
getClientId()
abstract String
getClientSecret()
abstract String
getRedirectUri()
abstract NotionHttpClient
getHttpClient()
abstract NotionJsonSerializer
getJsonSerializer()
abstract NotionLogger
getLogger()
abstract String
getBaseUrl()
-
-
Method Detail
-
exchangeAuthCode
OAuthTokenResult exchangeAuthCode(String code, String state)
-
exchangeAuthCode
OAuthTokenResult exchangeAuthCode(ExchangeAuthCodeRequest request)
-
getClientId
abstract String getClientId()
-
getClientSecret
abstract String getClientSecret()
-
getRedirectUri
abstract String getRedirectUri()
-
getHttpClient
abstract NotionHttpClient getHttpClient()
-
getJsonSerializer
abstract NotionJsonSerializer getJsonSerializer()
-
getLogger
abstract NotionLogger getLogger()
-
getBaseUrl
abstract String getBaseUrl()
-
-
-
-