Class AuthenticationModeCondition

java.lang.Object
io.micronaut.security.authentication.AuthenticationModeCondition
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>
Direct Known Subclasses:
CookieBasedAuthenticationModeCondition, SessionAuthenticationModeCondition

public abstract class AuthenticationModeCondition extends Object implements io.micronaut.context.condition.Condition
A condition that matches a supplied list of authentication modes.
Since:
2.0.0
Author:
James Kleeh
  • Constructor Details

  • Method Details

    • matches

      public boolean matches(io.micronaut.context.condition.ConditionContext context)
      Specified by:
      matches in interface io.micronaut.context.condition.Condition