Module: GoogleAppsAuth
- Defined in:
- lib/googleapps_auth.rb,
lib/googleapps_auth/railtie.rb,
lib/googleapps_auth/version.rb
Defined Under Namespace
Classes: CertificateAuthorityFileError, Railtie, Result
Constant Summary
collapse
- ID_PREFIX =
"https://www.google.com/accounts/o8/id"
- DOMAIN_ID_PREFIX =
"https://www.google.com/accounts/o8/site-xrds?hd="
- DOMAIN_XRDS_PREFIX =
"https://www.google.com/accounts/o8/user-xrds?uri="
- AX_SCHEMAS =
{
:email => "http://schema.openid.net/contact/email",
:firstname => "http://axschema.org/namePerson/first",
:lastname => "http://axschema.org/namePerson/last",
:language => "http://axschema.org/pref/language",
:country => "http://axschema.org/contact/country/home",
}
- VERSION =
"0.1.0"
- @@default_domain =
nil
Class Method Summary
collapse
Class Method Details
.certificate_authority_file ⇒ Object
28
29
30
|
# File 'lib/googleapps_auth.rb', line 28
def self.certificate_authority_file
OpenID.fetcher.ca_file
end
|
.certificate_authority_file=(path) ⇒ Object
20
21
22
|
# File 'lib/googleapps_auth.rb', line 20
def self.certificate_authority_file=(path)
OpenID.fetcher.ca_file = path
end
|
.certificate_authority_file? ⇒ Boolean
24
25
26
|
# File 'lib/googleapps_auth.rb', line 24
def self.certificate_authority_file?
!! OpenID.fetcher.ca_file
end
|
.default_domain ⇒ Object
36
37
38
|
# File 'lib/googleapps_auth.rb', line 36
def self.default_domain
@@default_domain
end
|
.default_domain=(domain) ⇒ Object
32
33
34
|
# File 'lib/googleapps_auth.rb', line 32
def self.default_domain=(domain)
@@default_domain = domain
end
|