-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
64 additions
and
29 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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
module.exports = { | ||
projectName: 'ORY Oathkeeper', | ||
projectSlug: 'oathkeeper', | ||
projectTagLine: 'A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.', | ||
projectTagLine: | ||
'A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.', | ||
updateTags: [ | ||
{ | ||
image: 'oryd/oathkeeper', | ||
files: [ | ||
'docs/docs/install.md', | ||
'docs/docs/configure-deploy.md' | ||
] | ||
files: ['docs/docs/install.md', 'docs/docs/configure-deploy.md'] | ||
}, | ||
{ | ||
replacer: ({content, next}) => content.replace(/v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?/gi, `${next}`), | ||
files: [ | ||
'docs/docs/install.md', | ||
] | ||
replacer: ({ content, next }) => | ||
content.replace( | ||
/v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?/gi, | ||
`${next}` | ||
), | ||
files: ['docs/docs/install.md'] | ||
} | ||
], | ||
updateConfig: { | ||
src: '.schema/config.schema.json', | ||
dst: './docs/docs/reference/configuration.md' | ||
} | ||
}; | ||
} |
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
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,38 @@ | ||
package pipeline | ||
|
||
import ( | ||
"net/http" | ||
"net/url" | ||
) | ||
|
||
type Context struct { | ||
} | ||
|
||
type ContextRequest struct { | ||
http.Request | ||
Header http.Header `json:"header"` | ||
MatchContext MatchContext `json:"match"` | ||
Method string | ||
} | ||
|
||
type ContextResponse struct { | ||
URL string `json:"url"` | ||
Header http.Header `json:"header"` | ||
Proto string `json:"proto"` | ||
Host string `json:"host"` | ||
RemoteAddr string `json:"remote_address"` | ||
|
||
RegexpCaptureGroups []string `json:"regexp_capture_groups"` | ||
} | ||
|
||
type AuthenticationSession struct { | ||
Subject string `json:"subject"` | ||
Extra map[string]interface{} `json:"extra"` | ||
Header http.Header `json:"header"` | ||
MatchContext MatchContext `json:"match_context"` | ||
} | ||
|
||
type MatchContext struct { | ||
RegexpCaptureGroups []string `json:"regexp_capture_groups"` | ||
URL *url.URL `json:"url"` | ||
} |