saml_idp_metadata 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +27 -5
- data/lib/saml_idp_metadata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60f8c00864342e40fb75073f3baaa73284fd9622077b56eb85af74311300037c
|
|
4
|
+
data.tar.gz: 0a9ec1d3fd11a99a6ffd3c9697e60aea144859d5bbc977f0ce969799b88d0aff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8eed50ada5906a7de7772dd78a3e2ae06d93b30df7e5df27c4230eb956c1d7ca03ac77b3ccd5e73853823e37274da12e5852f2eb7d4e5efb00e9ab87c0540e23
|
|
7
|
+
data.tar.gz: 000d49ecb0ee76cfdaaa588df3cceff8f51c181c3499d07e5d275aac43b28a73f75d7ab7a90a98b1f90c4154306855cd75523facc68f490bc6c541a460b9fd89
|
data/.github/workflows/ruby.yml
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SAML IdP Metadata Parser
|
|
2
|
+
[ ](https://rubygems.org/gems/saml_idp_metadata) [ ](https://rubygems.org/gems/saml_idp_metadata)
|
|
3
|
+
[](https://circleci.com/gh/tknzk/saml_idp_metadata)
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
5
|
+
Parser for SAML IdP metadata
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -22,7 +22,29 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Basic one:
|
|
26
|
+
|
|
27
|
+
```ruby
|
|
28
|
+
# validate_xmlsn
|
|
29
|
+
|
|
30
|
+
xml = File.read('./idp_metadata.xml')
|
|
31
|
+
|
|
32
|
+
SamlIdpMetadata::Parser.call(xml: xml).validate_xmlns
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```ruby
|
|
36
|
+
# ensure_params?
|
|
37
|
+
xml = File.read('./idp_metadata.xml')
|
|
38
|
+
|
|
39
|
+
SamlIdpMetadata::Parser.call(xml: xml).ensure_params?
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
```ruby
|
|
43
|
+
# build_params
|
|
44
|
+
xml = File.read('./idp_metadata.xml')
|
|
45
|
+
|
|
46
|
+
SamlIdpMetadata::Parser.call(xml: xml).build_params
|
|
47
|
+
```
|
|
26
48
|
|
|
27
49
|
## Development
|
|
28
50
|
|