Sha256: 6ba936bc5bf8a0b4ba7fcb0ea694d70760bc4adc0b41af7f80a07c1131de2609

Contents?: true

Size: 142 Bytes

Versions: 15

Compression:

Stored size: 142 Bytes

Contents

Auth0::ApiToken = Struct.new :access_token, :scope, :expires_in do
  def token
    access_token
  end

  def scopes
    scope.split
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
auth0-5.16.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.15.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.14.2 lib/auth0/mixins/api_token_struct.rb
auth0-5.14.1 lib/auth0/mixins/api_token_struct.rb
auth0-5.14.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.13.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.12.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.11.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.10.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.9.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.8.1 lib/auth0/mixins/api_token_struct.rb
auth0-5.8.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.7.0 lib/auth0/mixins/api_token_struct.rb
auth0-5.6.1 lib/auth0/mixins/api_token_struct.rb
auth0-5.6.0 lib/auth0/mixins/api_token_struct.rb