class Doorkeeper::OAuth::Token

def token_from_basic_header(header, pattern)

def token_from_basic_header(header, pattern)
  encoded_header = token_from_header(header, pattern)
  decode_basic_credentials_token(encoded_header)
end