Class NoneAuthTypeRequestTrait


  • public class NoneAuthTypeRequestTrait
    extends Object
    Trait which defines if a given request needs to be authenticated. A request is not authenticated only if it has "auththpe" trait explicitly marked as "none"
    • Method Detail

      • create

        public static com.squareup.javapoet.CodeBlock create​(OperationModel operationModel)
        Generate a ".putExecutionAttribute(...)" code-block for the provided operation model. This should be used within the context of initializing ClientExecutionParams. If and only if "authType" trait is explicitly set as "none" the set the execution attribute as false.