Module: Authorization::People::V1::Authentication

Defined in:
lib/generators/people/authorizations/templates/authentication_authorization.rb

Class Method Summary collapse

Class Method Details

.login?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/generators/people/authorizations/templates/authentication_authorization.rb', line 12

def self.login?
	return true
end

.logout?(tokenUser) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/generators/people/authorizations/templates/authentication_authorization.rb', line 16

def self.logout?(tokenUser)
	return true
end

.register?Boolean

Used in the controller

Returns:

  • (Boolean)


8
9
10
# File 'lib/generators/people/authorizations/templates/authentication_authorization.rb', line 8

def self.register?
	return true
end