Interface OAuth2ServiceProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Deprecated public interface OAuth2ServiceProvider
Deprecated.
Please directly use the token client library instead.
Wrapper type for XSUAA security related features.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Deprecated.
    Builder type to customize OAuth2 service specific settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Instantiate a new builder.
    com.sap.cloud.security.xsuaa.tokenflows.XsuaaTokenFlows
    Deprecated.
    Shortcut method to instantiate an XSUAA request builder from the security library.
  • Method Details

    • builder

      Deprecated.
      Instantiate a new builder.
      Returns:
      A new builder instance.
    • getXsuaaTokenFlows

      @Nonnull com.sap.cloud.security.xsuaa.tokenflows.XsuaaTokenFlows getXsuaaTokenFlows()
      Deprecated.
      Shortcut method to instantiate an XSUAA request builder from the security library.
      Returns:
      A new instance of XsuaaTokenFlows