Skip to content

Commit

Permalink
Updated api/sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
sgonzalezoyuela committed Jul 1, 2023
1 parent 453d4ab commit 9799ea8
Show file tree
Hide file tree
Showing 25 changed files with 2,328 additions and 50 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ require (
)

replace github.com/atricore/josso-sdk-go => ../josso-sdk-go

replace github.com/atricore/josso-api-go => ../josso-api-go
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
github.com/atricore/josso-api-go v0.4.4 h1:aLWU6xU3xR1xbqZiiKbqtw/LroFUnqO+iPU6PH1eGfQ=
github.com/atricore/josso-api-go v0.4.4/go.mod h1:Oys9D0y1x+bvyIsnRFl6JOYiIV7KQkuToIQa+jxeuHs=
github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY=
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
Expand Down
4 changes: 2 additions & 2 deletions iamtf/resource_iamtf_idp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@ func mapSaml2EncryptionToTF(encryption string) (string, error) {
// "http://www.w3.org/2001/04/xmlenc#tripledes-cbc";

switch encryption {
case "disabled":
case "", "NONE", "disabled":
return "NONE", nil
case "http://www.w3.org/2001/04/xmlenc#aes128-cbc":
return "AES128", nil
Expand All @@ -1533,6 +1533,6 @@ func mapSaml2EncryptionToTF(encryption string) (string, error) {
case "http://www.w3.org/2001/04/xmlenc#tripledes-cbc":
return "AES3DES", nil
default:
return "", fmt.Errorf("invalid encryption type %s", encryption)
return "", fmt.Errorf("invalid encryption type [%s]", encryption)
}
}
7 changes: 7 additions & 0 deletions vendor/github.com/atricore/josso-api-go/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

226 changes: 226 additions & 0 deletions vendor/github.com/atricore/josso-api-go/api_default.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9799ea8

Please sign in to comment.