Class AuthTrait

All Implemented Interfaces:
FromSourceLocation, ToNode, ToShapeId, Trait

public final class AuthTrait extends AbstractTrait
Specifies the auth schemes supported by default for operations bound to a service.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

  • Method Details

    • getValueSet

      public Set<ShapeId> getValueSet()
      Gets the auth scheme trait values.
      Returns the supported auth schemes.
    • getValues

      @Deprecated public List<ShapeId> getValues()
    • createNode

      protected Node createNode()
      Description copied from class: AbstractTrait
      The result of toNode is used for hashCodes and equality. Subclasses must implement createNode to turn the trait into a Node. This is then cached for subsequent retrievals.
      Specified by:
      createNode in class AbstractTrait
      Returns the trait as a node.