Interface OAuth2Defaults.Builder

    • Method Detail

      • oauthScopes

        OAuth2Defaults.Builder oauthScopes​(Collection<String> oauthScopes)

        OAuth 2.0 scopes that the connector supports.

        Parameters:
        oauthScopes - OAuth 2.0 scopes that the connector supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauthScopes

        OAuth2Defaults.Builder oauthScopes​(String... oauthScopes)

        OAuth 2.0 scopes that the connector supports.

        Parameters:
        oauthScopes - OAuth 2.0 scopes that the connector supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenUrls

        OAuth2Defaults.Builder tokenUrls​(Collection<String> tokenUrls)

        Token URLs that can be used for OAuth 2.0 authentication.

        Parameters:
        tokenUrls - Token URLs that can be used for OAuth 2.0 authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenUrls

        OAuth2Defaults.Builder tokenUrls​(String... tokenUrls)

        Token URLs that can be used for OAuth 2.0 authentication.

        Parameters:
        tokenUrls - Token URLs that can be used for OAuth 2.0 authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authCodeUrls

        OAuth2Defaults.Builder authCodeUrls​(Collection<String> authCodeUrls)

        Auth code URLs that can be used for OAuth 2.0 authentication.

        Parameters:
        authCodeUrls - Auth code URLs that can be used for OAuth 2.0 authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authCodeUrls

        OAuth2Defaults.Builder authCodeUrls​(String... authCodeUrls)

        Auth code URLs that can be used for OAuth 2.0 authentication.

        Parameters:
        authCodeUrls - Auth code URLs that can be used for OAuth 2.0 authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupportedWithStrings

        OAuth2Defaults.Builder oauth2GrantTypesSupportedWithStrings​(Collection<String> oauth2GrantTypesSupported)

        OAuth 2.0 grant types supported by the connector.

        Parameters:
        oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupportedWithStrings

        OAuth2Defaults.Builder oauth2GrantTypesSupportedWithStrings​(String... oauth2GrantTypesSupported)

        OAuth 2.0 grant types supported by the connector.

        Parameters:
        oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupported

        OAuth2Defaults.Builder oauth2GrantTypesSupported​(Collection<OAuth2GrantType> oauth2GrantTypesSupported)

        OAuth 2.0 grant types supported by the connector.

        Parameters:
        oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupported

        OAuth2Defaults.Builder oauth2GrantTypesSupported​(OAuth2GrantType... oauth2GrantTypesSupported)

        OAuth 2.0 grant types supported by the connector.

        Parameters:
        oauth2GrantTypesSupported - OAuth 2.0 grant types supported by the connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2CustomProperties

        OAuth2Defaults.Builder oauth2CustomProperties​(Collection<OAuth2CustomParameter> oauth2CustomProperties)

        List of custom parameters required for OAuth 2.0 authentication.

        Parameters:
        oauth2CustomProperties - List of custom parameters required for OAuth 2.0 authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2CustomProperties

        OAuth2Defaults.Builder oauth2CustomProperties​(OAuth2CustomParameter... oauth2CustomProperties)

        List of custom parameters required for OAuth 2.0 authentication.

        Parameters:
        oauth2CustomProperties - List of custom parameters required for OAuth 2.0 authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.