Class ClientCredentialsEnabled

java.lang.Object
io.micronaut.security.oauth2.client.clientcredentials.ClientCredentialsEnabled
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>

@Internal public class ClientCredentialsEnabled extends Object implements io.micronaut.context.condition.Condition
Condition to determine if the client credentials grant is enabled for a given OAuth 2.0 client.
Since:
2.2.0
Author:
James Kleeh
  • Constructor Details

    • ClientCredentialsEnabled

      public ClientCredentialsEnabled()
  • Method Details

    • matches

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