Class UsagePlansPolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • tokenLocations

        public UsagePlansPolicy.Builder tokenLocations​(List<String> tokenLocations)
        A list of context variables specifying where API tokens may be located in a request.

        Example locations: - “request.headers[token]” - “request.query[token]” - “request.auth[Token]” - “request.path[TOKEN]”

        Parameters:
        tokenLocations - the value to set
        Returns:
        this builder