Annotation Interface Cors.AllowCredentials

Enclosing class:
Cors

@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public static @interface Cors.AllowCredentials
Whether to allow credentials.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the client can send cookies or credentials.
  • Element Details

    • value

      boolean value
      Whether the client can send cookies or credentials. Corresponds to Access-Control-Allow-Credentials.
      Returns:
      allowed credentials
      Default:
      true