Class: Authorio::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/authorio/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
12
13
14
15
# File 'lib/authorio/configuration.rb', line 8

def initialize
  @authorization_endpoint = 'auth'
  @token_endpoint = 'token'
  @mount_point = 'authorio'
  @token_expiration = 4.weeks
  @local_session_lifetime = nil
  @multiuser = false
end

Instance Attribute Details

#authorization_endpointObject

Returns the value of attribute authorization_endpoint.



5
6
7
# File 'lib/authorio/configuration.rb', line 5

def authorization_endpoint
  @authorization_endpoint
end

#local_session_lifetimeObject

Returns the value of attribute local_session_lifetime.



5
6
7
# File 'lib/authorio/configuration.rb', line 5

def local_session_lifetime
  @local_session_lifetime
end

#mount_pointObject

Returns the value of attribute mount_point.



5
6
7
# File 'lib/authorio/configuration.rb', line 5

def mount_point
  @mount_point
end

#multiuserObject

Returns the value of attribute multiuser.



5
6
7
# File 'lib/authorio/configuration.rb', line 5

def multiuser
  @multiuser
end

#token_endpointObject

Returns the value of attribute token_endpoint.



5
6
7
# File 'lib/authorio/configuration.rb', line 5

def token_endpoint
  @token_endpoint
end

#token_expirationObject

Returns the value of attribute token_expiration.



5
6
7
# File 'lib/authorio/configuration.rb', line 5

def token_expiration
  @token_expiration
end