mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
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.
This commit is contained in:
1 parent
4d8af159f6
commit
5c72502551
1 file changed
+3
-2
+3
-2
@@ -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<String> enabledAuthFlows(UserPoolClient client) {
|
||||
List<String> enabled = client.getExplicitAuthFlows();
|
||||
|
||||
Reference in new issue
Block a user