Class ResourceOwnerPasswordTokenAuthenticator

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface okhttp3.Authenticator

        okhttp3.Authenticator.Companion
    • Field Summary

      • Fields inherited from interface okhttp3.Authenticator

        Companion, JAVA_NET_AUTHENTICATOR, NONE
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceOwnerPasswordTokenAuthenticator​(java.lang.String tokenServiceUrl, java.lang.String username, java.lang.String password, java.lang.String clientId, java.lang.String clientSecret)  
    • Constructor Detail

      • ResourceOwnerPasswordTokenAuthenticator

        public ResourceOwnerPasswordTokenAuthenticator​(java.lang.String tokenServiceUrl,
                                                       java.lang.String username,
                                                       java.lang.String password,
                                                       java.lang.String clientId,
                                                       java.lang.String clientSecret)
        Parameters:
        tokenServiceUrl - the URl of the token service.
        username - the username
        password - the password
        clientId - the client ID
        clientSecret - the client secret