@Override
    protected Node createNode() {
        ObjectNode.Builder builder = Node.objectNodeBuilder();
        builder.sourceLocation(getSourceLocation());
        if (!traits.isEmpty()) {
            ArrayNode ids = traits.stream()
                    .map(ShapeId::toString)
                    .map(Node::from)
                    .collect(ArrayNode.collect());
            builder.withMember("traits", ids);
        }
        return builder.build();
    }
Gets the list of shape IDs that auth implementations must know about
in order to successfully utilize the auth scheme.

@return Returns the auth traits.
smithy-model/src/main/java/software/amazon/smithy/model/traits/AuthDefinitionTrait.java