Class: OIDCProvider::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/oidc_provider/client.rb,
lib/oidc_provider/client/builder.rb

Defined Under Namespace

Classes: Builder

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Client



7
8
9
10
11
12
# File 'lib/oidc_provider/client.rb', line 7

def initialize(options = {})
  @identifier = options[:identifier]
  @secret = options[:secret]
  @redirect_uri = Array(options[:redirect_uri])
  @name = options[:name]
end

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier.



5
6
7
# File 'lib/oidc_provider/client.rb', line 5

def identifier
  @identifier
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/oidc_provider/client.rb', line 5

def name
  @name
end

#redirect_uriObject

Returns the value of attribute redirect_uri.



5
6
7
# File 'lib/oidc_provider/client.rb', line 5

def redirect_uri
  @redirect_uri
end

#secretObject

Returns the value of attribute secret.



5
6
7
# File 'lib/oidc_provider/client.rb', line 5

def secret
  @secret
end