lib/doorkeeper-mongodb/mixins/mongoid/access_token_mixin.rb
# We keep a volatile copy of the raw refresh token for initial communication
# The stored refresh_token may be mapped and not available in cleartext.
We keep a volatile copy of the raw refresh token for initial communication
The stored refresh_token may be mapped and not available in cleartext.
We keep a volatile copy of the raw refresh token for initial communication The stored refresh_token may be mapped and not available in cleartext .
def plaintext_refresh_token
          if secret_strategy.allows_restoring_secrets?
            secret_strategy.restore_secret(self, :refresh_token)
          else
            @raw_refresh_token
          end
        end
def plaintext_refresh_token if secret_strategy . allows_restoring_secrets? secret_strategy . restore_secret ( self , :refresh_token ) else @raw_refresh_token end end
We keep a volatile copy of the raw refresh token for initial communication
The stored refresh_token may be mapped and not available in cleartext.
We keep a volatile copy of the raw refresh token for initial communication The stored refresh_token may be mapped and not available in cleartext .