From 5c725025519e4f17d7f75003cc0b2dfbe57e9da7 Mon Sep 17 00:00:00 2001 From: Priamo Germosen <6233424+pgermosen@users.noreply.github.com> Date: Tue, 22 Sep 2026 21:01:12 -0400 Subject: [PATCH] docs(cognito): fix stale enabledAuthFlows javadoc (#4159) Follow-up from #4081: the javadoc still described the AWS default as covering a client persisted before the default was materialised into storage. Floci never stores that default, so it applies to every client with no ExplicitAuthFlows, not just a legacy one. --- .../floci/services/cognito/CognitoAuthFlowHandler.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java b/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java index 1888608149..3f93c5fd97 100644 --- a/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java +++ b/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java @@ -186,8 +186,9 @@ final class CognitoAuthFlowHandler { } /** - * A client with no stored list, as one persisted before the default was materialised, gets the - * AWS default rather than every flow. + * A client with no stored {@code ExplicitAuthFlows} gets the AWS default rather than every + * flow. Floci never materialises the default into storage, so this covers every such client, + * not just one from before enforcement existed. */ private static List enabledAuthFlows(UserPoolClient client) { List enabled = client.getExplicitAuthFlows();