Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor web auth #2706

Merged
merged 8 commits into from
Nov 10, 2023

Improve/add module docstrings

c6ed8be
Select commit
Loading
Failed to load commit list.
Merged

Refactor web auth #2706

Improve/add module docstrings
c6ed8be
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Nov 6, 2023 in 1s

71.69% of diff hit (target 55.19%)

View this Pull Request on Codecov

71.69% of diff hit (target 55.19%)

Annotations

Check warning on line 61 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L59-L61

Added lines #L59 - L61 were not covered by tests

Check warning on line 64 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 69 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L67-L69

Added lines #L67 - L69 were not covered by tests

Check warning on line 71 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L71

Added line #L71 was not covered by tests

Check warning on line 74 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L74

Added line #L74 was not covered by tests

Check warning on line 85 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L85

Added line #L85 was not covered by tests

Check warning on line 87 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L87

Added line #L87 was not covered by tests

Check warning on line 111 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L109-L111

Added lines #L109 - L111 were not covered by tests

Check warning on line 113 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L113

Added line #L113 was not covered by tests

Check warning on line 131 in python/nav/web/auth/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/__init__.py#L131

Added line #L131 was not covered by tests

Check warning on line 28 in python/nav/web/auth/middleware.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/middleware.py#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 71 in python/nav/web/auth/middleware.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/middleware.py#L71

Added line #L71 was not covered by tests

Check warning on line 75 in python/nav/web/auth/middleware.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/middleware.py#L74-L75

Added lines #L74 - L75 were not covered by tests

Check warning on line 77 in python/nav/web/auth/middleware.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/middleware.py#L77

Added line #L77 was not covered by tests

Check warning on line 106 in python/nav/web/auth/middleware.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/middleware.py#L106

Added line #L106 was not covered by tests

Check warning on line 115 in python/nav/web/auth/middleware.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/middleware.py#L114-L115

Added lines #L114 - L115 were not covered by tests

Check warning on line 118 in python/nav/web/auth/middleware.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/middleware.py#L117-L118

Added lines #L117 - L118 were not covered by tests

Check warning on line 32 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L32

Added line #L32 was not covered by tests

Check warning on line 36 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L34-L36

Added lines #L34 - L36 were not covered by tests

Check warning on line 40 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L38-L40

Added lines #L38 - L40 were not covered by tests

Check warning on line 80 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L80

Added line #L80 was not covered by tests

Check warning on line 87 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L82-L87

Added lines #L82 - L87 were not covered by tests

Check warning on line 90 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L90

Added line #L90 was not covered by tests

Check warning on line 151 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L150-L151

Added lines #L150 - L151 were not covered by tests

Check warning on line 168 in python/nav/web/auth/remote_user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/nav/web/auth/remote_user.py#L167-L168

Added lines #L167 - L168 were not covered by tests