two-or-more-authentication-schemes-in-group-auth-option
Overview
This rule belongs to the apimatic-preliminary-linting
ruleset and states that:
A group authentication option is expected to make use of multiple authentication schemes to complete the authentication. Therefore, it must consist of at least two or more authentication schemes. If only a single authentication scheme is present, it is recommended to change the authentication option type to single.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Group authentication option contains a single authentication scheme only. |
Code | APIMATICPRE_L025 |
Type | Linting |
Rule System | Semantic |
Broad Category | Authentication |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks linting apimatic group authentication option authentication scheme authentication |
Suggested Fixes
- Add two or more authentication schemes in the authentication option for it to be treated as a valid group type authentication option.
- Change the type of authentication option from 'Group' to 'Single' if it is expected to consist of only a single authentication scheme.