Annotation Type AuthorizationHeader

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String confPrefix
      The prefix of the config key to be used, plus /mp-graphql/.
      AuthorizationHeader.Type type
      The first word of the Authorization header value, i.e.
    • Element Detail

      • confPrefix

        String confPrefix
        The prefix of the config key to be used, plus /mp-graphql/.

        If the prefix ends with *, /mp-graphql/ will not be appended, e.g. @AuthorizationHeader(confPrefix = "org.superheroes.security.basic.* will use org.superheroes.security.basic.username, while * will use plain username.

        Defaults to the fully qualified name of the API interface or its GraphQLClientApi.configKey().

        Default:
        ""