lib/browse_everything/driver/box.rb
def register_access_token(access_token)
        @token = {
          'token' => access_token.token,
          'refresh_token' => access_token.refresh_token,
          'expires_at' => access_token.expires_at
        }
      end
# If there is an active session, {@token} will be set by {BrowseEverythingController} using data stored in the
# session. However, if there is no prior session, or the token has expired, we reset it here using # a new
# access_token received from {#box_session}.
#
# @param [OAuth2::AccessToken] access_token
If there is an active session,  will be set by {BrowseEverythingController} using data stored in the
session. However, if there is no prior session, or the token has expired, we reset it here using # a new
access_token received from {#box_session}.
If there is an active session will be set by { BrowseEverythingController } using data stored in the session . However if there is no prior session or the token has expired we reset it here using # a new access_token received from { #box_session } .
def register_access_token(access_token)
        @token = {
          'token' => access_token.token,
          'refresh_token' => access_token.refresh_token,
          'expires_at' => access_token.expires_at
        }
      end
def register_access_token ( access_token ) @token = { 'token' => access_token . token , 'refresh_token' => access_token . refresh_token , 'expires_at' => access_token . expires_at } end
If there is an active session, {@token} will be set by {BrowseEverythingController} using data stored in the
session.
If there is an active session { @token } will be set by { BrowseEverythingController } using data stored in the session .
access_token
None