public static interface OAuth2Defaults.Builder extends SdkPojo, CopyableBuilder<OAuth2Defaults.Builder,OAuth2Defaults>
| Modifier and Type | Method and Description |
|---|---|
OAuth2Defaults.Builder |
authCodeUrls(Collection<String> authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
|
OAuth2Defaults.Builder |
authCodeUrls(String... authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
|
OAuth2Defaults.Builder |
oauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
|
OAuth2Defaults.Builder |
oauth2CustomProperties(Consumer<OAuth2CustomParameter.Builder>... oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
|
OAuth2Defaults.Builder |
oauth2CustomProperties(OAuth2CustomParameter... oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
|
OAuth2Defaults.Builder |
oauth2GrantTypesSupported(Collection<OAuth2GrantType> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
OAuth2Defaults.Builder |
oauth2GrantTypesSupported(OAuth2GrantType... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
OAuth2Defaults.Builder |
oauth2GrantTypesSupportedWithStrings(Collection<String> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
OAuth2Defaults.Builder |
oauth2GrantTypesSupportedWithStrings(String... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
OAuth2Defaults.Builder |
oauthScopes(Collection<String> oauthScopes)
OAuth 2.0 scopes that the connector supports.
|
OAuth2Defaults.Builder |
oauthScopes(String... oauthScopes)
OAuth 2.0 scopes that the connector supports.
|
OAuth2Defaults.Builder |
tokenUrls(Collection<String> tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
|
OAuth2Defaults.Builder |
tokenUrls(String... tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOAuth2Defaults.Builder oauthScopes(Collection<String> oauthScopes)
OAuth 2.0 scopes that the connector supports.
oauthScopes - OAuth 2.0 scopes that the connector supports.OAuth2Defaults.Builder oauthScopes(String... oauthScopes)
OAuth 2.0 scopes that the connector supports.
oauthScopes - OAuth 2.0 scopes that the connector supports.OAuth2Defaults.Builder tokenUrls(Collection<String> tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
tokenUrls - Token URLs that can be used for OAuth 2.0 authentication.OAuth2Defaults.Builder tokenUrls(String... tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
tokenUrls - Token URLs that can be used for OAuth 2.0 authentication.OAuth2Defaults.Builder authCodeUrls(Collection<String> authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
authCodeUrls - Auth code URLs that can be used for OAuth 2.0 authentication.OAuth2Defaults.Builder authCodeUrls(String... authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
authCodeUrls - Auth code URLs that can be used for OAuth 2.0 authentication.OAuth2Defaults.Builder oauth2GrantTypesSupportedWithStrings(Collection<String> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.OAuth2Defaults.Builder oauth2GrantTypesSupportedWithStrings(String... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.OAuth2Defaults.Builder oauth2GrantTypesSupported(Collection<OAuth2GrantType> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.OAuth2Defaults.Builder oauth2GrantTypesSupported(OAuth2GrantType... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.OAuth2Defaults.Builder oauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
oauth2CustomProperties - List of custom parameters required for OAuth 2.0 authentication.OAuth2Defaults.Builder oauth2CustomProperties(OAuth2CustomParameter... oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
oauth2CustomProperties - List of custom parameters required for OAuth 2.0 authentication.OAuth2Defaults.Builder oauth2CustomProperties(Consumer<OAuth2CustomParameter.Builder>... oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
This is a convenience method that creates an instance of theOAuth2CustomParameter.Builder avoiding the need to
create one manually via OAuth2CustomParameter.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #oauth2CustomProperties(List.
oauth2CustomProperties - a consumer that will call methods on
OAuth2CustomParameter.Builder#oauth2CustomProperties(java.util.Collection) Copyright © 2022. All rights reserved.