Sha256: a37531709132b4070a805c8c3f99df7d1c79556156b83c2e12e988c98fea4f9e

Contents?: true

Size: 135 Bytes

Versions: 13

Compression:

Stored size: 135 Bytes

Contents

ApiToken = Struct.new :access_token, :scope, :expires_in do

  def token
    access_token
  end

  def scopes
    scope.split
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
auth0-4.17.1 lib/auth0/mixins/api_token_struct.rb
auth0-4.17.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.16.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.15.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.14.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.13.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.12.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.11.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.10.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.9.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.8.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.7.0 lib/auth0/mixins/api_token_struct.rb
auth0-4.6.0 lib/auth0/mixins/api_token_struct.rb