Class OauthClientCondition
java.lang.Object
io.micronaut.security.oauth2.client.condition.AbstractCondition
io.micronaut.security.oauth2.client.condition.OauthClientCondition
- All Implemented Interfaces:
io.micronaut.context.condition.Condition
,Predicate<io.micronaut.context.condition.ConditionContext>
Condition to create an
OauthClient
.- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NonNull String
getFailureMessagePrefix
(@NonNull String name) protected boolean
handleConfigurationEnabled
(@NonNull OauthClientConfiguration clientConfiguration, @NonNull io.micronaut.context.condition.ConditionContext<?> context, @NonNull String failureMsgPrefix) Methods inherited from class io.micronaut.security.oauth2.client.condition.AbstractCondition
matches
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.context.condition.Condition
test
-
Constructor Details
-
OauthClientCondition
public OauthClientCondition()
-
-
Method Details
-
getFailureMessagePrefix
- Specified by:
getFailureMessagePrefix
in classAbstractCondition
-
handleConfigurationEnabled
protected boolean handleConfigurationEnabled(@NonNull @NonNull OauthClientConfiguration clientConfiguration, @NonNull @NonNull io.micronaut.context.condition.ConditionContext<?> context, @NonNull @NonNull String failureMsgPrefix) - Specified by:
handleConfigurationEnabled
in classAbstractCondition
-