Class NetworkAuthMethod

All Implemented Interfaces:
AuthMethod, HeaderAuthMethod, Comparable<AuthMethod>

public final class NetworkAuthMethod extends BearerAuthMethod
Auth method for Vonage Network APIs. Designed to be replaced on each request.
  • Constructor Details

    • NetworkAuthMethod

      Creates a new Bearer auth method which uses the specified params to exchange for an access token.
      Parameters:
      client - The network auth client to use.
      request - The token request parameters.
    • NetworkAuthMethod

      Creates a new Bearer auth method which uses the specified params to automatically obtain the token parameters in order to exchange them for an access token.
      Parameters:
      client - The network auth client to use.
      request - The initial Back-End request parameters to use for obtaining the tokens.
  • Method Details