class Doorkeeper::OAuth::Token

def decode_basic_credentials_token(encoded_header)

def decode_basic_credentials_token(encoded_header)
  Base64.decode64(encoded_header).split(/:/, 2).first
end