Module: Devise::Oauth2Providable
- Defined in:
- lib/devise_oauth2_providable.rb,
lib/devise/oauth2_providable/engine.rb,
lib/devise/oauth2_providable/version.rb,
lib/devise/oauth2_providable/expirable_token.rb,
app/controllers/devise/oauth2_providable/authorizations_controller.rb
Defined Under Namespace
Modules: ExpirableToken
Classes: AccessToken, AuthorizationCode, AuthorizationsController, Client, Engine, RefreshToken, TokensController
Constant Summary
collapse
- CLIENT_ENV_REF =
'oauth2.client'
- REFRESH_TOKEN_ENV_REF =
"oauth2.refresh_token"
- VERSION =
"1.1.3"
Class Method Summary
collapse
Class Method Details
.random_id ⇒ Object
20
21
22
|
# File 'lib/devise_oauth2_providable.rb', line 20
def random_id
SecureRandom.hex
end
|
.table_name_prefix ⇒ Object
23
24
25
|
# File 'lib/devise_oauth2_providable.rb', line 23
def table_name_prefix
'oauth2_'
end
|