-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add NOTICE file Naming of repair methods
- Loading branch information
Showing
16 changed files
with
106 additions
and
190 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
xslasd/x-oidc | ||
Copyright 2023 xslasd | ||
This product includes software developed by the Apache Software Foundation (http://www.apache.org/). | ||
|
||
This product includes software developed by go-jose (github.com/go-jose/go-jose/v3). | ||
This product includes software developed by google/uuid (github.com/google/uuid). | ||
|
||
This project referred to the redesign and implementation of interface functions for zitadel/oidc. | ||
|
||
The above code files or parts of them are licensed under the Apache 2.0 License and are subject to the terms and conditions of the Apache 2.0 License. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package oidc | ||
|
||
import ( | ||
"github.com/xslasd/x-oidc/crypto" | ||
"github.com/xslasd/x-oidc/storage" | ||
"github.com/xslasd/x-oidc/util" | ||
) | ||
|
||
type Config struct { | ||
Issuer string | ||
Crypto crypto.JWTCertifier | ||
Handler OpenIDHandler | ||
Storage storage.IStorage | ||
Issuer string | ||
Crypto util.JWTCertifier | ||
OpenIDWrapper OpenIDWrapper | ||
Storage storage.IStorage | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{ define "login" -}} | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Login</title> | ||
</head> | ||
<body style="display: flex; align-items: center; justify-content: center; height: 100vh;"> | ||
<form method="POST" action="/callback" style="height: 200px; width: 400px;"> | ||
<input type="hidden" name="id" value="{{.ID}}"> | ||
<div> | ||
<label for="username">Username:</label> | ||
<input id="username" name="username" style="width: 100%;height: 40px"> | ||
</div> | ||
<div> | ||
<label for="password">Password:(Correct password:test)</label> | ||
<input id="password" type="password" name="password" style="width: 100%;height: 40px"> | ||
</div> | ||
<button type="submit">Login</button> | ||
</form> | ||
</body> | ||
</html>` | ||
{{- end }} |
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.