Class VmcClients


  • public class VmcClients
    extends java.lang.Object
    This class contains static factory methods for creating new ApiClient instances suitable for invoking VMC's API.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  VmcClients.Builder  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CSP_URL  
      static java.lang.String VMC_URL  
    • Constructor Summary

      Constructors 
      Constructor Description
      VmcClients()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ApiClient createDefault​(char[] refreshToken)
      Creates an ApiClient instance which can be used to consume VMC's API.
      static VmcClients.Builder custom()  
      • Methods inherited from class java.lang.Object

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

      • VmcClients

        public VmcClients()
    • Method Detail

      • createDefault

        public static ApiClient createDefault​(char[] refreshToken)
        Creates an ApiClient instance which can be used to consume VMC's API.
        Parameters:
        refreshToken - the token supplied to the authorization service for issuing access tokens
        Returns:
        new ApiClient instance