Class: OIDCProvider::Client
- Inherits:
-
Object
- Object
- OIDCProvider::Client
- Defined in:
- lib/oidc_provider/client.rb,
lib/oidc_provider/client/builder.rb
Defined Under Namespace
Classes: Builder
Instance Attribute Summary collapse
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#name ⇒ Object
Returns the value of attribute name.
-
#redirect_uri ⇒ Object
Returns the value of attribute redirect_uri.
-
#secret ⇒ Object
Returns the value of attribute secret.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
7 8 9 10 11 12 |
# File 'lib/oidc_provider/client.rb', line 7 def initialize( = {}) @identifier = [:identifier] @secret = [:secret] @redirect_uri = Array([:redirect_uri]) @name = [:name] end |
Instance Attribute Details
#identifier ⇒ Object
Returns the value of attribute identifier.
5 6 7 |
# File 'lib/oidc_provider/client.rb', line 5 def identifier @identifier end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/oidc_provider/client.rb', line 5 def name @name end |
#redirect_uri ⇒ Object
Returns the value of attribute redirect_uri.
5 6 7 |
# File 'lib/oidc_provider/client.rb', line 5 def redirect_uri @redirect_uri end |
#secret ⇒ Object
Returns the value of attribute secret.
5 6 7 |
# File 'lib/oidc_provider/client.rb', line 5 def secret @secret end |