-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
authenticators: Introduce authenticators package
Add a new authenticators package which includes the implementations of all the authentication methods that oidc-authservice currently supports. Isolate the dependency to the "k8s.io/apiserver/pkg/authentication/authenticator" package, inside the new authenticators package. GitHub-PR: #105 Signed-off-by: Athanasios Markou <[email protected]>
- Loading branch information
Athanasios Markou
committed
Feb 3, 2023
1 parent
39faf4c
commit 3f80ac1
Showing
12 changed files
with
148 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package authenticators | ||
|
||
import ( | ||
"net/http" | ||
|
||
"k8s.io/apiserver/pkg/authentication/authenticator" | ||
) | ||
|
||
type AuthenticatorRequest authenticator.Request | ||
|
||
type Cacheable interface { | ||
GetCacheKey(r *http.Request) string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.