ruby-saml 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ruby-saml might be problematic. Click here for more details.
- data/lib/onelogin/saml/authrequest.rb +1 -10
- data/ruby-saml.gemspec +1 -1
- metadata +3 -3
@@ -45,16 +45,7 @@ module Onelogin::Saml
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def google_saml_request(settings)
|
48
|
-
%Q(<?xml version="1.0" encoding="UTF-8"
|
49
|
-
<samlp:AuthnRequest
|
50
|
-
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
|
51
|
-
ID="#{@id}"
|
52
|
-
Version="2.0"
|
53
|
-
IssueInstant="#{@issue_instant}"
|
54
|
-
ProtocolBinding="urn:oasis:names.tc:SAML:2.0:bindings:HTTP-POST"
|
55
|
-
ProviderName="#{settings.issuer}"
|
56
|
-
AssertionConsumerServiceURL="#{settings.assertion_consumer_service_url}"/>
|
57
|
-
)
|
48
|
+
%Q(<?xml version="1.0" encoding="UTF-8"?><samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="#{@id}" Version="2.0" IssueInstant="#{@issue_instant}" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" ProviderName="#{settings.issuer}" AssertionConsumerServiceURL="#{settings.assertion_consumer_service_url}"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">#{settings.issuer}</saml:Issuer><samlp:NameIDPolicy AllowCreate="true" Format="#{settings.name_identifier_format}" /></samlp:AuthnRequest>)
|
58
49
|
end
|
59
50
|
|
60
51
|
def self.getTimestamp
|
data/ruby-saml.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-saml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- OneLogin LLC
|