Class OAuthClient

  • All Implemented Interfaces:
    com.sap.cloud.mobile.foundation.model.AbstractOAuthClient

    @Serializable() 
    public final class OAuthClient
     implements AbstractOAuthClient
                        

    OAuth client configuration

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class OAuthClient.Builder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String clientID
      private final String redirectURL
      private final String grantType
    • Constructor Summary

      Constructors 
      Constructor Description
      OAuthClient(String clientID, String redirectURL, String grantType)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getClientID()
      String getRedirectURL()
      String getGrantType()
      String toString()
      final static OAuthClient createClientFromJsonString(String str) The str might come from other sources, it will be different as the serializer generates, so we need to parse with json
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OAuthClient

        OAuthClient(String clientID, String redirectURL, String grantType)