-
Notifications
You must be signed in to change notification settings - Fork 147
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
240 changed files
with
10,328 additions
and
8,670 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,17 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch", | ||
"type": "go", | ||
"request": "launch", | ||
"mode": "auto", | ||
"program": "${fileDirname}", | ||
"env": {}, | ||
"args": [] | ||
} | ||
] | ||
} |
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,27 @@ | ||
# Changelog | ||
Running changelog of releases since `2.0.0-rc.4` | ||
|
||
## v2.0.0-rc.5 | ||
- Remove `PreviewSamlMetadataForApplication` method from `ApplicationResource` | ||
- `Kid` Query Param removed | ||
- `KeepCurrent` Query Param removed | ||
- `ActivateFactorRequest` struct added | ||
- New Method `GenerateApplicationKey` added to `ApplicationResource` | ||
- `FactorResultType` struct added | ||
- `OpenIdConnectApplicationIssuerMode` struct added | ||
- `InitiateLoginUri` property (type string) added to `OpenIdConnectApplicationSettingsClient` struct | ||
- `IssuerMode` property (type string) added to `OpenIdConnectApplicationSettingsClient` struct | ||
- `Format` property (type []string) added to `PolicySubject` struct | ||
- `ExpiresAt` property (type *time.Time) added to `PushUserFactor` struct | ||
- `FactorResult` property (type string) added to `PushUserFactor` struct | ||
- Remove `ClearCurrentUserSession` from `UserResource` | ||
- `UserFactorResource` method `ActivateFactor` now takes `ActivateFactorRequest` as the `body` param instead of `VerifyFactorRequest` | ||
- `NextPassCode` property (type string) added to `VerifyFactorRequest` struct | ||
- Update Readme to show how to access `RequestExecutor` (Fixes #83) | ||
- Fixes Cache EOF (Fixes #103 and Fixes #36) | ||
- Update all enum objects to `type string` (Fixes #95) | ||
- Implement Pagination | ||
|
||
## v2.0.0-rc.4 | ||
- Updated Resource Executor to handle nil pointer dereference (#125, fix suggested by @johanbrandhorst) | ||
- Updates JWT Signer Package issues (#121, fix suggested by @Jmainguy) |
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 |
---|---|---|
|
@@ -43,6 +43,7 @@ pull-spec: | |
cp spec-raw/dist/spec.json openapi/spec.json | ||
rm -fr spec-raw | ||
|
||
|
||
test: | ||
make test:all | ||
|
||
|
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,37 @@ | ||
/* | ||
* Copyright 2018 - Present Okta, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY | ||
|
||
package okta | ||
|
||
import () | ||
|
||
type ActivateFactorRequest struct { | ||
Attestation string `json:"attestation,omitempty"` | ||
ClientData string `json:"clientData,omitempty"` | ||
PassCode string `json:"passCode,omitempty"` | ||
RegistrationData string `json:"registrationData,omitempty"` | ||
StateToken string `json:"stateToken,omitempty"` | ||
} | ||
|
||
func NewActivateFactorRequest() *ActivateFactorRequest { | ||
return &ActivateFactorRequest{} | ||
} | ||
|
||
func (a *ActivateFactorRequest) IsUserFactorInstance() bool { | ||
return true | ||
} |
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,27 @@ | ||
/* | ||
* Copyright 2018 - Present Okta, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY | ||
|
||
package okta | ||
|
||
import () | ||
|
||
type AppAndInstanceConditionEvaluatorAppOrInstance struct { | ||
Id string `json:"id,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
Type string `json:"type,omitempty"` | ||
} |
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,26 @@ | ||
/* | ||
* Copyright 2018 - Present Okta, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY | ||
|
||
package okta | ||
|
||
import () | ||
|
||
type AppAndInstancePolicyRuleCondition struct { | ||
Exclude []*AppAndInstanceConditionEvaluatorAppOrInstance `json:"exclude,omitempty"` | ||
Include []*AppAndInstanceConditionEvaluatorAppOrInstance `json:"include,omitempty"` | ||
} |
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,26 @@ | ||
/* | ||
* Copyright 2018 - Present Okta, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY | ||
|
||
package okta | ||
|
||
import () | ||
|
||
type AppInstancePolicyRuleCondition struct { | ||
Exclude []string `json:"exclude,omitempty"` | ||
Include []string `json:"include,omitempty"` | ||
} |
Oops, something went wrong.