File: static_token_provider.rb

package info (click to toggle)
ruby-aws-sdk-core 3.242.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,420 kB
  • sloc: ruby: 18,795; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Aws
  class StaticTokenProvider
    include TokenProvider

    # @param [String] token
    # @param [Time] expiration
    def initialize(token, expiration = nil)
      @token = Token.new(token, expiration)
    end
  end
end