def METHOD_NAME(self):
    """A method to generate ``user_code`` value for device authorization
    endpoint. This method will generate a random string like MQNA-JPOZ.
    Developers can rewrite this  method to create their own ``user_code``.
    """
    # https://tools.ietf.org/html/rfc8628#section-6.1
    if self.USER_CODE_TYPE == 'digital':
        return create_digital_user_code()
    return create_string_user_code()