Skip to content

Commit c3fdeda

Browse files
Merge pull request #15 from jentic/char0n-patch-1
docs: address auth_strength formula clarity
2 parents 4630366 + 8820c06 commit c3fdeda

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/specification/spec.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,10 +729,17 @@ It evaluates the average strength of all security schemes using normative scores
729729
**Formula:**
730730

731731
```text
732-
# auth_strength = average_strength_of_security_schemes
733-
auth_strength = safe_divide(sum(strength_scores), count(schemes))
732+
auth_strength = sum(strength_scores) / schemes_count
734733
```
735734

735+
736+
Where:
737+
738+
- `strength_scores` is the list of calculated scheme strengths
739+
- `schemes_count` is the number of defined schemes
740+
741+
742+
736743
The following table outlines the `auth_strength` scoring weights:
737744

738745
| Scheme Type | Description | Example | Strength | Rationale |

0 commit comments

Comments
 (0)