def parse_reqtype(args):
    """Setup our Authentication POST.

    username and setup are only used in APIKEY/PASSWORD Authentication
    """
    setup = {'username': args.get('user')}
    if args.get('token') is not None:
        auth_body = {'auth': {'token': {'id': args.get('token')},
            'tenantName': args.get('tenant')}}
    elif args.get('apikey') is not None:
        prefix = 'RAX-KSKEY:apiKeyCredentials'
        setup['apiKey'] = args.get('apikey')
        auth_body = {'auth': {prefix: setup}}
    elif args.get('password') is not None:
        prefix = 'passwordCredentials'
        setup['password'] = args.get('password')
        auth_body = {'auth': {prefix: setup}}
    else:
        raise AttributeError('No Password, APIKey, or Token Specified')
    return auth_body
