Sha256: 53c27c5bdcb4ad966b7488b715b67084b8187fd8360a03e439d623e875259957

Contents?: true

Size: 156 Bytes

Versions: 25

Compression:

Stored size: 156 Bytes

Contents

class Oauth2Token::AuthorizationCode < Oauth2Token
  def access_token
    @access_token ||= expire! && user.access_tokens.create!(client: client)
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
social_stream-2.2.2 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.2.2 app/models/oauth2_token/authorization_code.rb
social_stream-2.2.1 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.2.1 app/models/oauth2_token/authorization_code.rb
social_stream-2.2.0 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.2.0 app/models/oauth2_token/authorization_code.rb
social_stream-2.1.1 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.1.1 app/models/oauth2_token/authorization_code.rb
social_stream-2.1.0 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.1.0 app/models/oauth2_token/authorization_code.rb
social_stream-2.0.4 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.0.3 app/models/oauth2_token/authorization_code.rb
social_stream-2.0.3 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.0.2 app/models/oauth2_token/authorization_code.rb
social_stream-2.0.2 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.0.1 app/models/oauth2_token/authorization_code.rb
social_stream-2.0.1 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-2.0.0 oauth2_server/app/models/oauth2_token/authorization_code.rb
social_stream-oauth2_server-2.0.0 app/models/oauth2_token/authorization_code.rb
social_stream-2.0.0.beta3 oauth2_server/app/models/oauth2_token/authorization_code.rb